![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de JFacebookEvent:Fonctions membres publiques | |
| getEvent ($event) | |
| getFeed ($event, $limit=0, $offset=0, $until=null, $since=null) | |
| createLink ($event, $link, $message=null) | |
| deleteLink ($link) | |
| createPost ($event, $message=null, $link=null, $picture=null, $name=null, $caption=null, $description=null, $actions=null) | |
| deletePost ($post) | |
| createStatus ($event, $message) | |
| deleteStatus ($status) | |
| getInvited ($event, $limit=0, $offset=0) | |
| isInvited ($event, $user) | |
| createInvite ($event, $users) | |
| deleteInvite ($event, $user) | |
| getAttending ($event, $limit=0, $offset=0) | |
| isAttending ($event, $user) | |
| createAttending ($event) | |
| getMaybe ($event, $limit=0, $offset=0) | |
| isMaybe ($event, $user) | |
| createMaybe ($event) | |
| getDeclined ($event, $limit=0, $offset=0) | |
| isDeclined ($event, $user) | |
| createDeclined ($event) | |
| getNoreply ($event, $limit=0, $offset=0) | |
| isNoreply ($event, $user) | |
| getPicture ($event, $redirect=true, $type=null) | |
| getPhotos ($event, $limit=0, $offset=0, $until=null, $since=null) | |
| createPhoto ($event, $source, $message=null) | |
| getVideos ($event, $limit=0, $offset=0, $until=null, $since=null) | |
| createVideo ($event, $source, $title=null, $description=null) | |
Fonctions membres publiques hérités de JFacebookObject | |
| __construct (Registry $options=null, JHttp $client=null, JFacebookOAuth $oauth=null) | |
| sendRequest ($path, $data='', array $headers=null, $limit=0, $offset=0, $until=null, $since=null) | |
| get ($object) | |
| getConnection ($object, $connection=null, $extraFields='', $limit=0, $offset=0, $until=null, $since=null) | |
| createConnection ($object, $connection=null, $parameters=null, array $headers=null) | |
| deleteConnection ($object, $connection=null, $extraFields='') | |
| setOAuth ($oauth) | |
| getOAuth () | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de JFacebookObject | |
| fetchUrl ($path, $limit=0, $offset=0, $until=null, $since=null) | |
Attributs protégés hérités de JFacebookObject | |
| $options | |
| $client | |
| $oauth | |
Facebook API User class for the Joomla Platform.
| createAttending | ( | $event | ) |
Method to set the current user as attending. Requires authentication and rsvp_event permission.
| string | $event | The event id. |
| createDeclined | ( | $event | ) |
Method to set the current user as declined. Requires authentication and rscp_event permission.
| string | $event | The event id. |
| createInvite | ( | $event, | |
| $users | |||
| ) |
| createLink | ( | $event, | |
| $link, | |||
$message = null |
|||
| ) |
Method to post a link on event's feed which the current_user is or maybe attending. Requires authentication and publish_stream permission.
| string | $event | The event id. |
| string | $link | Link URL. |
| string | $message | Link message. |
| createMaybe | ( | $event | ) |
Method to set the current user as maybe attending. Requires authentication and rscp_event permission.
| string | $event | The event id. |
| createPhoto | ( | $event, | |
| $source, | |||
$message = null |
|||
| ) |
Method to post a photo on event's wall. Requires authentication and publish_stream permission.
| string | $event | The event id. |
| string | $source | Path to photo. |
| string | $message | Photo description. |
| createPost | ( | $event, | |
$message = null, |
|||
$link = null, |
|||
$picture = null, |
|||
$name = null, |
|||
$caption = null, |
|||
$description = null, |
|||
$actions = null |
|||
| ) |
Method to post on event's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
| string | $event | The event id. |
| string | $message | Post message. |
| string | $link | Post URL. |
| string | $picture | Post thumbnail image (can only be used if link is specified) |
| string | $name | Post name (can only be used if link is specified). |
| string | $caption | Post caption (can only be used if link is specified). |
| string | $description | Post description (can only be used if link is specified). |
| array | $actions | Post actions array of objects containing name and link. |
Références $data, $description, $link, $message, et $name.
| createStatus | ( | $event, | |
| $message | |||
| ) |
Method to post a status message on behalf of the user on the event's wall. Requires authentication and publish_stream permission.
| string | $event | The event id. |
| string | $message | Status message content. |
Method to post a video on event's wall. Requires authentication and publish_stream permission.
| string | $event | The event id. |
| string | $source | Path to photo. |
| string | $title | Video title. |
| string | $description | Video description. |
Références $data, $description, et $title.
| deleteInvite | ( | $event, | |
| $user | |||
| ) |
Method to delete an invitation. Note: you can only delete the invite if the current user is the event admin. Requires authentication and rsvp_event permission.
| string | $event | The event id. |
| string | $user | The user id. |
Références $user.
| deleteLink | ( | $link | ) |
Method to delete a link. Requires authentication and publish_stream permission.
| mixed | $link | The Link ID. |
Références $link.
| deletePost | ( | $post | ) |
Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication and publish_stream permission.
| string | $post | The Post ID. |
| deleteStatus | ( | $status | ) |
Method to delete a status. Note: you can only delete the post if it was created by the current user. Requires authentication and publish_stream permission.
| string | $status | The Status ID. |
| getAttending | ( | $event, | |
$limit = 0, |
|||
$offset = 0 |
|||
| ) |
Method to get the list of attending users. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
| getDeclined | ( | $event, | |
$limit = 0, |
|||
$offset = 0 |
|||
| ) |
Method to get the list of users which declined the event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
| getEvent | ( | $event | ) |
Method to get information about an event visible to the current user. Requires authentication.
| string | $event | The event id. |
Method to get the event's wall. Requires authentication.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
| string | $until | A unix timestamp or any date accepted by strtotime. |
| string | $since | A unix timestamp or any date accepted by strtotime. |
| getInvited | ( | $event, | |
$limit = 0, |
|||
$offset = 0 |
|||
| ) |
Method to get the list of invitees for the event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
| getMaybe | ( | $event, | |
$limit = 0, |
|||
$offset = 0 |
|||
| ) |
Method to get the list of maybe attending users. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
| getNoreply | ( | $event, | |
$limit = 0, |
|||
$offset = 0 |
|||
| ) |
Method to get the list of users which have not replied to the event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
Method to get photos published on event's wall. Requires authentication.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
| string | $until | A unix timestamp or any date accepted by strtotime. |
| string | $since | A unix timestamp or any date accepted by strtotime. |
Method to get the event's profile picture. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| boolean | $redirect | If false this will return the URL of the picture without a 302 redirect. |
| string | $type | To request a different photo use square | small | normal | large. |
Références $type.
Method to get videos published on event's wall. Requires authentication.
| string | $event | The event id. |
| integer | $limit | The number of objects per page. |
| integer | $offset | The object's number on the page. |
| string | $until | A unix timestamp or any date accepted by strtotime. |
| string | $since | A unix timestamp or any date accepted by strtotime. |
| isAttending | ( | $event, | |
| $user | |||
| ) |
Method to check if a user is attending an event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| mixed | $user | Either an integer containing the user ID or a string containing the username. |
Références $user.
| isDeclined | ( | $event, | |
| $user | |||
| ) |
Method to check if a user responded 'no' to the event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| mixed | $user | Either an integer containing the user ID or a string containing the username. |
Références $user.
| isInvited | ( | $event, | |
| $user | |||
| ) |
Method to check if a user is invited to the event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| mixed | $user | Either an integer containing the user ID or a string containing the username. |
Références $user.
| isMaybe | ( | $event, | |
| $user | |||
| ) |
Method to check if a user is maybe attending an event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| mixed | $user | Either an integer containing the user ID or a string containing the username. |
Références $user.
| isNoreply | ( | $event, | |
| $user | |||
| ) |
Method to check if a user has not replied to the event. Requires authentication and user_events or friends_events permission.
| string | $event | The event id. |
| mixed | $user | Either an integer containing the user ID or a string containing the username. |
Références $user.