Hi,
You should use the Save() method, not insertEvent.
The id is correctly fetched (although I use the following code, it
nevertheless produces the same id) :
if ( ereg("/full/(.*)", $event->getSelfLink()->getHref(), $regs) )
$id = $regs[1];
The feed should be fetch with "full" projection.
However, in my PHP application, I use ClientLogin authentication. I tried
with "default" as the feed user part, and also with secondary calendar
"users". It works. The only difference seems to be with the authentication.
Switch to ClientLogin and I'm pretty sure it will work nice :
$client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass,
Zend_Gdata_Calendar::AUTH_SERVICE_NAME);
$gdatacal = new Zend_Gdata_Calendar($client);
--
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://code.google.com/apis/calendar/community/forum.html