Maybe, but I send $authToken which I received from these functions:

$client=getClientLoginHttpClient($userID,$pass);
$authToken=$client->getClientLoginToken();

here is what i send in headers:

headers["authorization"]='GoogleLogin auth="+
DQAAAIEAAAAAy5-Ma2C8QTr_8w7i_aWXzlpM21VPVD0nx0x-
N3i0_dT6cfgWJwkJYvv3GyenUiz99_rfUpMHOyDQvDV9g1aCnA9459NxNmWkAKH6W2W1psDs76De_YmvceAVF7tLsCxkxRNTpGmFJgvKGTb4jDfJNomAstJCFkVH5nu52SfI9k4V0CwceG2sttpAztIysfE

Thanks,
-maryam

On Nov 13, 6:51 pm, maryam <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to download my private google calendar in a client calendar
> application. I get the authorization token from google calendar API
> (ClientLogin), then I send a http get request to this address:
>
> http://www.google.com/calendar/ical/[EMAIL PROTECTED]/private/basic.ics
>
> and I add in the header of the request the authorization token:
>
> headers["authorization"]='GoogleLogin auth=' + authorization token
>
> But I get this error:
>
> Error #2032: Stream Error. 
> URL:http://www.google.com/calendar/ical/my-username/private/basic.ics?0.2...
>
> Thanks,
> -Maryam

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