I'm getting a 401 error when using "http://www.google.com/calendar/ feeds/[EMAIL PROTECTED]/owncalendars/full" feed url. It works great if I'm not using my own domain. I have the partner addition and the GConnect object is using curl. Here is the code:
$gcdomain = 'myrichdaddream.com'; $gcpass = 'password'; $gcuser = '15069'; $body = "&Email=".$gcuser."@".$gcdomain."&Passwd=". $gcpass."&accountType=HOSTED&service=apps"; $url = "https://www.google.com/accounts/ClientLogin"; $feed = new GConnect($url, $header_array, 'POST', $body); $feed->enable_cache(false); $feed->init(); $body = explode("\n", $feed->body); $auth = explode('=', $body[2]); // Output Calendar List $header_array = array('Authorization' => "GoogleLogin auth={$auth[1]}"); $url = "http://www.google.com/calendar/feeds/".$gcuser."@". $gcdomain."/owncalendars/full"; $feed = new GConnect($url, $header_array, 'GET'); $feed->init(); Am I missing something? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
