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.
Please re-post your question there under Contacts API:
http://www.google.com/support/forum/p/apps-apis?hl=en
Regards,
Julian