On Jan 8, 2009, at 12:04 PM, CalPool wrote:
>
> Hi
>
> I'm working on website as a project for a CompSci class, and currently
> I have made it so that I go through Google Authentication and redirect
> to a page on my website. then, I'm using PHP, on that page, I use
> PHP's cURL to send a GET request to the calendar's events feed..
>
> for example:
> http://www.google.com/calendar/feeds/default/private/free-busy
> and then store the return xml as a file.
>
> however, when I look at the sml, it says "Authorization required".
>
> Any idea as to how I can do it so it is authorized?
>
> Thankss
Hi CalPool,
Documentation on obtaining an authorization token for use with our
APIs is provided here:
http://code.google.com/apis/accounts/
Once you obtain a token, you can supply it by sending it inside of an
'Authorization:' HTTP header. The format of this header is also
documented at the above URL.
I hope that helps.
--
Trevor Johns
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---