Hi,

Have you ever print out the auth token to verify that you are getting
a valid token back from authentication? I haven't seen this error
before, perhaps you can try building your proxy using the GData PHP
client library - http://framework.zend.com/download/gdata

Austin

On Oct 31, 10:48 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I am currently in the process of attempting to create a client library
> in AS3 for the google Calendar API.  I have come across some,
> difficulties with the Flash player sand box, however I have gotten
> around most of that with a php proxy page.  I am currently able to get
> my auth code from the clientlogin site, however when I try to send a
> GET tohttp://www.google.com/calendar/feeds/default/allcalendars/full
> to get my calendars, I just get a page that returns "Too  many
> instances of"  (without quotes).  This seems very odd to me, not to
> mention un-descriptive.  I looked around and did not notice anyone
> else that has had this issue, and I was wondering if anyone has any
> suggestions.
>
> the major part of my php code is as follows
>
> $header[] = "Authorization: GoogleLogin auth=". $_GET['AUTH'];
> $header[] = "Content-type: application/x-www-form-urlencoded";
> $header[] = "Content-length: ".strlen($data);
> var_dump($header);
> $ch = curl_init( $url );//$_GET['url'] );
> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
> curl_setopt($ch, CURLOPT_TIMEOUT, 10);
> curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
>
> if ( strlen($data)>0 ){
>     curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
>
> }
>
> $response = curl_exec($ch);
>
> if (curl_errno($ch)) {
>     print curl_error($ch);} else {
>
>     curl_close($ch);
>     print $response;
>
> }
>
> and no there is nothing getting echoed / displayed above this code


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