affinitiz/facebook-cf-sdk — pull request #24 by awmichel (2011-10-19 14:28:37+00:00)
Title: Event Function Bugfixes

Noticed a couple bugs in the `publishEvent` function, mostly typos and misnamed arguments, fixed 3 bugs in that function.

Added a new function, `updateEvent`, for updating an existing event object. Uses the same arguments as publishEvent, except instead of profileId it accepts an eventId. All arguments except for the eventId are optional (there isn't much documentation in the Graph API to support this, but testing seems to indicate they are). This returns a boolean value indicating whether the updates were successful or not.