JFacebookEvent::createPost
Method to post on event's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
Signature
public function createPost(string
$event,
[string
$message = null,
[string
$link = null,
[string
$picture = null,
[string
$name = null,
[string
$caption = null,
[string
$description = null,
[array
$actions = null]]]]]]] )
Parameters
-
$event
- The event id.
-
$message
- Post message.
-
$link
- Post URL.
-
$picture
- Post thumbnail image (can only be used if link is specified)
-
$name
- Post name (can only be used if link is specified).
-
$caption
- Post caption (can only be used if link is specified).
-
$description
- Post description (can only be used if link is specified).
-
$actions
- Post actions array of objects containing name and link.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.