Hi James, The sample assumes you're deleting an event from the default calendar so it only needs the alphanumeric event ID and not the entire URL. Something like this:
php Calendar.php deleteEventById myusername mypassword r4d2cds27asdf2sgcovnw3lsp Hope that helps, Lane On Aug 15, 5:05 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > I am having success with with adding event with php Calendar.php > createEvent, however, I am not having any luck when using > deleteEventById. The format for doing so requires the following: php > Calendar.php deleteEventById <username> <password> <eventId>. > > i am entering the following: php Calendar.php deleteEventById > 'myusername' 'mypassword' 'http://www.google.com/calendar/feeds/ > jmqfch852t6d1lu1sb8m09a8o4%40group.calendar.google.com/private/full/ > t0km8kij7avij9qccjuj3c6oho' for example, and at the end i get > following errors: > PHP Fatal error: Call to a member function delete() on a non-object > in /www/public_html/jamesc/ZendGdata-1.0.1/demos/Zend/Gdata/ > Calendar.php on line 599 > > Fatal error: Call to a member function delete() on a non-object in / > www/public_html/jamesc/ZendGdata-1.0.1/demos/Zend/Gdata/Calendar.php > on line 599 > > If anyone could point me in the right direction on what I might be > doing incorrectly, I would greatly appriciate it. > > James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
