Hello Luca, I replied in the other thread.
Best, Alain On Mon, Jun 13, 2011 at 11:40 AM, Luca Santaniello < [email protected]> wrote: > Thanks for reply. > > I use Java 6 and Eclipse IDE. I solve Contact problem but have this now: > > 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 > -- 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
