Hello Jeff,

You might find this documentation useful:
http://code.google.com/apis/gdata/articles/oauth.html

You should aslo consider using OAuth
Playground<http://googlecodesamples.com/oauth_playground/>to debug
your code and understand how to generate base signature input and
sign requests.

Also, are you really passing in "testurl.com" as the consumer_key? If this
is the case, does this domain belong to you and have you registered it?

Best,
Alain

On Tue, Jul 19, 2011 at 11:09 AM, Jeff Gladnick <[email protected]>wrote:

> I've been at this for more then 4 days, and I cannot seem to make any
> progress.
>
> Here is the situation:
> 1) I have successfully authenticated the oAuth request.
> 2) when I try to get the contacts via the request below, i get a
> dreaded "401 Token invalid - Invalid AuthSub token. - Day 4"
>
> base string input:
> GET&https%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2Fcontacts%2Fdefault
> %2Ffull&alt%3Djson%26oauth_version%3D1.0%26oauth_nonce
> %3D9648624%26oauth_timestamp%3D1311097725%26oauth_consumer_key
> %3Dtesturl.com%26oauth_signature_method%3DHMAC-SHA1%26oauth_token
> %3D4%252FrqkWtc3zu2mJooy1rXXdiUn4nH29
>
> Signed key:
> yvisBE4CtoffX5Fl9CD7q3UVnoM=
>
> Test URL:
>
> https://www.google.com/m8/feeds/contacts/default/full?alt=json&oauth_version=1.0&oauth_nonce=9648624&oauth_timestamp=1311097725&oauth_consumer_key=testurl.com&oauth_signature_method=HMAC-SHA1&oauth_token=4%2FrqkWtc3zu2mJooy1rXXdiUn4nH29&oauth_signature=yvisBE4CtoffX5Fl9CD7q3UVnoM%3D
>
> 3) I've tried every variation of the request I can think of (I'm using
> coldfusion) w/ no change.  I get the 401 error every time.
>
> I am hopeful someone here will be able to either point out my error or
> at least give me a hint so I can properly debug it.
>
> --
> 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