Hi Austin,
be nice if this could be updated, i must of spent 4+ hours trying to find
what i needed to get it to work
the reminders typo was the final piece of the puzzle i needed but i also
needed to edit $eventID to contain just the id code
*function getEvent($client, $eventId) **{*
*$editURL = $eventId;*
*$WithoutId = substr ($editURL, 0, strrpos ($editURL, '/')+1);*
*echo "<br />editURL: $editURL";*
*echo "<br />: $WithoutId";*
*$eventId = str_replace($WithoutId, '', $editURL);*
*echo "<br />id: $eventId<br>";*
*$gdataCal = new Zend_Gdata_Calendar($client);*
*$query = $gdataCal->newEventQuery();*
*$query->setUser('default');*
*$query->setVisibility('private');*
*$query->setProjection('full');*
*$query->setEvent($eventId);*
*echo $eventId;*
*try {*
*$eventEntry = $gdataCal->getCalendarEventEntry($query);*
*return $eventEntry;*
*} catch (Zend_Gdata_App_Exception $e) {*
*var_dump($e);*
*return null;*
*}*
*}*
*
*
*it looked like the error was the url was being appended to the front like
so*
*http://www.google.com/calendar/feeds/default/private/full/
http://www.google.com/calendar/feeds/default/private/full/sd87s6d8f7s6df8s7d6f87
*
*Bim*
--
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