Guys,
The problem is solved and I was able to access the contact api....
The problem was in signing the base string... I was using an incorrect 
access token secret....

By the way, there is another query:
In the contacts api response, the contact email address is embedded in a 
object which has the corresponding key as "gd$email"... i was stuck here 
for some time... but tweaked it after some time.... I want to know the 
possible reasons behind keeping such a key.... Anybody has any idea 
about why it is so?

Thanks
-Dipen

Eric Sachs wrote:
> Dipen, could you re-post your question to this discussion group? 
>  Google has folks who monitor that list who are in the best position 
> to answer your question, and then hopefully when you find the solution 
> you can make sure it gets posted in that list, as well as in this thread.
>
> http://groups.google.com/group/Google-Accounts-API
>
> Eric Sachs
> Senior Product Manager, Google Security
>
> On Sun, Dec 7, 2008 at 4:25 AM, Dipen <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     Hi,
>
>     I am getting "Authorization required error 401" in accessing google
>     contacts api by the following url:
>
>     
> http://www.google.com/m8/feeds/contacts/default/base?oauth_consumer_key=wizzdm.com&oauth_nonce=ce2130523f788f313f1228644667&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1228644667&oauth_token=1%2FzOMgMrNqUMIu12JBZxPi6w&oauth_version=1.0&scope=http%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds&oauth_signature=aJ7%2BybTv8%2FdT85D8Jd8IjcjGS6I%3D
>     
> <http://www.google.com/m8/feeds/contacts/default/base?oauth_consumer_key=wizzdm.com&oauth_nonce=ce2130523f788f313f1228644667&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1228644667&oauth_token=1%2FzOMgMrNqUMIu12JBZxPi6w&oauth_version=1.0&scope=http%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds&oauth_signature=aJ7%2BybTv8%2FdT85D8Jd8IjcjGS6I%3D>
>
>     After refreshing this page I get:
>     Token invalid - Invalid AuthSub token.
>     Whereas this is a OAuth.
>
>     i referred this:
>
>     
> http://groups.google.com/group/oauth/browse_thread/thread/75ee6d973930c791/496e45bc467d651d#496e45bc467d651d
>
>     
> http://groups.google.com/group/google-contacts-api/browse_thread/thread/217f102bef641125/7effa3fdebac4ef6?lnk=gst&q=Oauth+authentication#7effa3fdebac4ef6
>     
> <http://groups.google.com/group/google-contacts-api/browse_thread/thread/217f102bef641125/7effa3fdebac4ef6?lnk=gst&q=Oauth+authentication#7effa3fdebac4ef6>
>
>     where people are facing the same problem... later it is solved but the
>     solution is not shared online...
>
>     Solution need asap.
>
>     -Dipen
>
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" 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://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to