Thanks for reply.

I used aouth 2.0 but I have some problem...

1) I invocate "https://accounts.google.com/o/oauth2/auth"; passing client_id, 
redirect_uri, scope (=https://www.google.com/m8/feeds/) and response_type 
(=code)
2) User redirected to google login page and insert credentials
3) Google validate data and redirect to my page passing "code" parameter
4) I invocate "https://accounts.google.com/o/oauth2/token"; passing code, 
client_id, client_secret, client_secret and grant_type (=authorization_code) 
but I have this error:

java.io.IOException: Server returned HTTP response code: 400 for URL: 
https://accounts.google.com/o/oauth2/token

Can you help me please?

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

Reply via email to