Hello All,

I am trying to import gmail contacts into my web app using google
contacts api-Java using AuthSub proxy authentication.

I am using tomcat on port 8080 and set all the parameters along with
parameter next as follows :

<a href="https://www.google.com/accounts/AuthsubRequest?next=http://
xx.xxx.xxx.xx:8080/GContacts/GoogleTest&scope=https://www.google.com/
m8/feeds&secure=0&session=true">

after click on grant access I am getting token appended with the url.
Then I am trying to get token using following method

String token=AuthSubUtil.getTokenFromReply("http://xx.xxx.xxx.xx:8080/
GContacts/GoogleTest");

and I am getting null here.

Can anybody please tell me where I went wrong? Or what should I need
to do to get the token ?

Thanks in advance.

--

You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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/google-contacts-api?hl=en.


Reply via email to