Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence de la classe JFacebookCheckin
+ Graphe d'héritage de JFacebookCheckin:

Fonctions membres publiques

 getCheckin ($checkin)
 
 getComments ($checkin, $limit=0, $offset=0, $until=null, $since=null)
 
 createComment ($checkin, $message)
 
 deleteComment ($comment)
 
 getLikes ($checkin, $limit=0, $offset=0, $until=null, $since=null)
 
 createLike ($checkin)
 
 deleteLike ($checkin)
 
- 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, $extra_fields='', $limit=0, $offset=0, $until=null, $since=null)
 
 createConnection ($object, $connection=null, $parameters=null, array $headers=null)
 
 deleteConnection ($object, $connection=null, $extra_fields='')
 
 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 Checkin class for the Joomla Platform.

13.1 deprecated 256.

Documentation des fonctions membres

◆ createComment()

createComment (   $checkin,
  $message 
)

Method to post a comment to the checkin. Requires authentication and publish_stream and user_checkins or friends_checkins permission.

Paramètres
string$checkinThe checkin id.
string$messageThe checkin's text.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
13.1

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

◆ createLike()

createLike (   $checkin)

Method to like a checkin. Requires authentication and publish_stream and user_checkins or friends_checkins permission.

Paramètres
string$checkinThe checkin id.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
13.1

◆ deleteComment()

deleteComment (   $comment)

Method to delete a comment. Requires authentication and publish_stream permission.

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

◆ deleteLike()

deleteLike (   $checkin)

Method to unlike a checkin. Requires authentication and publish_stream permission.

Paramètres
string$checkinThe checkin id.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
13.1

◆ getCheckin()

getCheckin (   $checkin)

Method to get a checkin. Requires authentication and user_checkins or friends_checkins permission.

Paramètres
string$checkinThe checkin id.
Renvoie
mixed The decoded JSON response or false if the client is not authenticated.
Depuis
13.1

◆ getComments()

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

Method to get a checkin's comments. Requires authentication and user_checkins or friends_checkins permission.

Paramètres
string$checkinThe checkin 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
13.1

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

◆ getLikes()

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

Method to get a checkin's likes. Requires authentication and user_checkins or friends_checkins permission.

Paramètres
string$checkinThe checkin 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
13.1

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


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