Hi c minor,

OAuth 1.0 is a fairly complicated protocol. Once you have to token you need
to calculate a signature based on the headers of each query and add that
signature as a header. Please read this:
http://code.google.com/apis/accounts/docs/OAuth_ref.html#TestingDebugging
and: http://code.google.com/apis/gdata/articles/oauth.html
You can see details of queries using our OAUTH playground:
http://googlecodesamples.com/oauth_playground/

I would recommend using a library that already exists for OAuth, there is
one in the Zend framework and many more (check this out:
http://php.net/manual/en/book.oauth.php)

If you want to implement your own library I woul drecomand you implement the
OAUth 2.0 protocole which is simplier to implement I find. And less likely
to be deprecated shortly :)

Cheers!

*
Nicolas Garnier*
Developer Programs Engineer
Google Developer Relations*
Google Switzerland GmbH.
Brandschenkestrasse 110,
8002 Zurich,
Switzerland
*

*The above terms reflect a potential business arrangement, are provided
solely as a basis for further discussion, and are not intended to be and do
not constitute a legally binding obligation. No legally binding obligations
will be created, implied, or inferred until an agreement in final form is
executed in writing by all parties involved.

This email may be confidential or privileged. If you received this
communication by mistake, please don't forward it to anyone else, please
erase all copies and attachments, and please let me know that it went to the
wrong person. Thanks

--

**“When I’m being sad, I stop being sad and be awesome instead”*


On Tue, May 3, 2011 at 23:47, c minor <[email protected]> wrote:

> sorry, the error message is Authorization required
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/contacts/community/forum.html
>

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to