|
| 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) |
|
| __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 () |
|
Facebook API Checkin class for the Joomla Platform.
3.2.0 deprecated 293.
◆ 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 | $checkin | The checkin id. |
string | $message | The checkin'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()
Method to like a checkin. Requires authentication and publish_stream and user_checkins or friends_checkins permission.
- Paramètres
-
string | $checkin | The checkin 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 permission.
- Paramètres
-
string | $comment | The comment's id. |
- Renvoie
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis
- 3.2.0
◆ deleteLike()
Method to unlike a checkin. Requires authentication and publish_stream permission.
- Paramètres
-
string | $checkin | The checkin id. |
- Renvoie
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis
- 3.2.0
◆ getCheckin()
Method to get a checkin. Requires authentication and user_checkins or friends_checkins permission.
- Paramètres
-
string | $checkin | The checkin id. |
- Renvoie
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis
- 3.2.0
◆ 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 | $checkin | The checkin 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. |
- 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 |
( |
|
$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 | $checkin | The checkin 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. |
- Renvoie
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis
- 3.2.0
Références $limit, et $offset.
La documentation de cette classe a été générée à partir du fichier suivant :