JFacebookUser::editEvent
Method to edit an event. Requires authentication create_event permission.
Signature
public function editEvent(mixed
$event,
[string
$name = null,
[string
$start_time = null,
[string
$end_time = null,
[string
$description = null,
[string
$location = null,
[string
$location_id = null,
[string
$privacy_type = null]]]]]]] )
Parameters
-
$event
- Event ID.
-
$name
- Event name.
-
$start_time
- Event start time as UNIX timestamp.
-
$end_time
- Event end time as UNIX timestamp.
-
$description
- Event description.
-
$location
- Event location.
-
$location_id
- Facebook Place ID of the place the Event is taking place.
-
$privacy_type
- Event privacy setting, a string containing 'OPEN' (default), 'CLOSED', or 'SECRET'.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.