Hi.

I've sent a GET request via php script to get an token to google.com.
Works fine, I've got the token. To access the calendar I have to
upgrade this "one-time"-token to a session token. But this will not
work.

Always getting an HTTP/1.1 302 Moved Temporarily.

Is this really a temporary problem by Google? Or I'm doing sth wrong?

URL to get token:
https://www.google.com/accounts/AuthSubRequest?next=[MY URL IN
HERE]&scope=http%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds
%2F&session=1&secure=0

GET Request:
GET /accounts/AuthSubSessionToken HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Authorization: AuthSub token=[MY TOKEN IN HERE]
Host: www.google.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Thanks for help.
Sascha


--~--~---------~--~----~------------~-------~--~----~
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