Once you have the single-use token, upgrade it
to a session token:
http://code.google.com/apis/gdata/authsub.html#AuthSubSessionTokendotNET

After you do that, the profile will be linked.

Eric

On Apr 9, 5:29 am, palli <[email protected]> wrote:
> Hello everyone
>
> I am trying to connect my site( localhost ) with the h9/sandbox
> profile. I need some help .. Please suggest ..
> I am using the following code which perform the following actions :-
> 1. Redirects me to google login page and after entering google
> credentials
> 2. I am redirected to Link my profile page.
> 3. When I click on Link my profile button it is redirected to my own
> website.
>
> I believe the above steps link my profile with my website. But when i
> check my profile in the h9/sandbox, the settings dont show any links
> with the localhost. If i am wrong somewhere please suggest.
>
> ==========================
> Dim authSubLink As String
>
> authSubLink = AuthSubUtil.getRequestUrl("http", "www.google.com", "/h9/
> authsub", _
> "http://localhost:1039/DotNetNuke%20Website3/default.aspx";, 
> "https://www.google.com/h9/feeds/";, False, True)
>
>  Response.Redirect(authSubLink)
> ===========================
>
>  Thanks and Regards
>  Pritpal Singh < Palli >
>  Software Developer.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" 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/googlehealthdevelopers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to