Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JFacebookStatus
+ Graphe d'héritage de JFacebookStatus:

Fonctions membres publiques

 getStatus ($status)
 
 getComments ($status, $limit=0, $offset=0, $until=null, $since=null)
 
 createComment ($status, $message)
 
 deleteComment ($comment)
 
 getLikes ($status, $limit=0, $offset=0, $until=null, $since=null)
 
 createLike ($status)
 
 deleteLike ($status)
 
- 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
 

Description détaillée

Facebook API Status class for the Joomla Platform.

3.2.0 deprecated 304.

Documentation des fonctions membres

◆ createComment()

createComment (   $status,
  $message 
)

Method to post a comment to the status message. Requires authentication and publish_stream and user_status or friends_status permission.

Paramètres
string$statusThe status message id.
string$messageThe comment's text.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
3.2.0

Références $data, et $message.

◆ createLike()

createLike (   $status)

Method to like status message. Requires authentication and publish_stream and user_status or friends_status permission.

Paramètres
string$statusThe status message id.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
3.2.0

◆ deleteComment()

deleteComment (   $comment)

Method to delete a comment. Requires authentication and publish_stream and user_status or friends_status permission.

Paramètres
string$commentThe comment's id.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
3.2.0

◆ deleteLike()

deleteLike (   $status)

Method to unlike a status message. Requires authentication and publish_stream and user_status or friends_status permission.

Paramètres
string$statusThe status message id.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
3.2.0

◆ getComments()

getComments (   $status,
  $limit = 0,
  $offset = 0,
  $until = null,
  $since = null 
)

Method to get a status message's comments. Requires authentication.

Paramètres
string$statusThe status message id.
integer$limitThe number of objects per page.
integer$offsetThe object's number on the page.
string$untilA unix timestamp or any date accepted by strtotime.
string$sinceA unix timestamp or any date accepted by strtotime.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
3.2.0

Références $limit, et $offset.

◆ getLikes()

getLikes (   $status,
  $limit = 0,
  $offset = 0,
  $until = null,
  $since = null 
)

Method to get a status message's likes. Requires authentication.

Paramètres
string$statusThe status message id.
integer$limitThe number of objects per page.
integer$offsetThe object's number on the page.
string$untilA unix timestamp or any date accepted by strtotime.
string$sinceA unix timestamp or any date accepted by strtotime.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
3.2.0

Références $limit, et $offset.

◆ getStatus()

getStatus (   $status)

Method to get a status message. Requires authentication.

Paramètres
string$statusThe status message id.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
3.2.0

La documentation de cette classe a été générée à partir du fichier suivant :