Hi gcal programmer,

A few hints:
  1) use session=1 in your request to AuthSubRequest (if you haven't
already)
  2) after you get the initial one-time-use token, exchange it for a
session token using:
http://code.google.com/apis/accounts/AuthForWebApps.html#AuthSubSessionToken
  3) this will return a one-line value called 'Token=XXXXX'.  Use the
value of the token in the code you have already written and posted in
this thread.

Due to the redirects used in the calendar service, a one-time token
(that's never exchanged for a session token), will often be bad (and
return a forbidden error) if you try to use it directly with calendar.

The .NET client library has some authsub handling code in it that works
well after a couple tweaks.  I should hopefully post some code on the
groups soon that handles AuthSub from within the .NET code.

Let us know if this additional step (the session token exchange) solves
the issues for you.

Happy coding,

-Ryan


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to