Hello Abdul,

If using curl, I would suggest using OAuth
2.0<http://code.google.com/apis/accounts/docs/OAuth2.html>as it is
much simplier to implement. You will need to log into your API
Console <https://code.google.com/apis/console> in order to retrieve the
needed client_id and client_secret.

After that, you will be able to call the Contacts API by specifying this
authorization header:

Authorization: OAuth <YOUR_ACCESS_TOKEN>


Best,
Alain

On Thu, Jun 16, 2011 at 7:04 AM, ABDUL MOIZ <[email protected]> wrote:

> Hi
>        I am new to google contacts api.
>    I have read the docs but could not get how to use oauth authentication
> and access my gmail contacts.Can anyone please help me out by giving me
> working http requests(oauth authentication process and get contacts list)
> using curl especially i am confused what to give values for
> oauth_signature,oauth_nonce etc.,
>
> This is what I have tried using curl
>
> curl
> https://www.google.com/accounts/OAuthGetRequestToken?oauth_consumer_key=google.com&oauth_nonce=4572616e48616d6d65724c61686176&oauth_signature_method=RSA-SHA1&oauth_signature=wOJIO9A2W5mFwDgiDvZbTSMK%2FPY%3D&oauth_timestamp=1272197025&scope=https://www.google.com/m8/feeds/&oauth_callback=''&oauth_version=1.0&xoauth_displayname=moiz
>
> Thanks in Advance
>
> --
> 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
>



-- 
Alain Vongsouvanh

-- 
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