This group has been moved to Google Apps API Help Forum:
http://www.google.com/support/forum/p/apps-apis?hl=en

Please re-post your question there under Contacts API:
http://www.google.com/support/forum/p/apps-apis?hl=en

Regards,
Julian

On Dec 21, 6:03 am, Raj <[email protected]> wrote:
> 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