Liste de tous les membres
Fonctions membres publiques |
| getVideo ($video) |
| getComments ($video, $limit=0, $offset=0, $until=null, $since=null) |
| createComment ($video, $message) |
| deleteComment ($comment) |
| getLikes ($video, $limit=0, $offset=0, $until=null, $since=null) |
| createLike ($video) |
| deleteLike ($video) |
| getPicture ($video) |
| __construct (JRegistry $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 () |
Description détaillée
Définition à la ligne 23 du fichier video.php.
Documentation des fonctions membres
JFacebookVideo::createComment |
( |
|
$video, |
|
|
|
$message |
|
) |
| |
Method to comment on a video. Requires authentication and publish_stream permission, user_videos or friends_videos permission for private videos.
- Paramètres:
-
string | $video | The video id. |
string | $message | The comment's text. |
- Renvoie:
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis:
- 13.1
Définition à la ligne 67 du fichier video.php.
{
$data = array();
$data['message'] = $message;
}
JFacebookVideo::createLike |
( |
|
$video | ) |
|
Method to like a video. Requires authentication and publish_stream permission, user_videos or friends_videos permission for private videos.
- Paramètres:
-
string | $video | The video id. |
- Renvoie:
- boolean Returns true if successful, and false otherwise.
- Depuis:
- 13.1
Définition à la ligne 117 du fichier video.php.
JFacebookVideo::deleteComment |
( |
|
$comment | ) |
|
Method to delete a comment. Requires authentication and publish_stream permission, user_videos or friends_videos permission for private videos.
- Paramètres:
-
string | $comment | The comment's id. |
- Renvoie:
- boolean Returns true if successful, and false otherwise.
- Depuis:
- 13.1
Définition à la ligne 85 du fichier video.php.
JFacebookVideo::deleteLike |
( |
|
$video | ) |
|
Method to unlike a video. Requires authentication and publish_stream permission, user_videos or friends_videos permission for private videos.
- Paramètres:
-
string | $video | The video id. |
- Renvoie:
- boolean Returns true if successful, and false otherwise.
- Depuis:
- 13.1
Définition à la ligne 131 du fichier video.php.
JFacebookVideo::getComments |
( |
|
$video, |
|
|
|
$limit = 0 , |
|
|
|
$offset = 0 , |
|
|
|
$until = null , |
|
|
|
$since = null |
|
) |
| |
Method to get a video's comments. Requires authentication and user_videos or friends_videos permission for private videos.
- Paramètres:
-
string | $video | The video 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:
- 13.1
Définition à la ligne 52 du fichier video.php.
{
return $this->
getConnection($video,
'comments',
'', $limit, $offset, $until, $since);
}
JFacebookVideo::getLikes |
( |
|
$video, |
|
|
|
$limit = 0 , |
|
|
|
$offset = 0 , |
|
|
|
$until = null , |
|
|
|
$since = null |
|
) |
| |
Method to get video's likes. Requires authentication and user_videos or friends_videos permission for private videos.
- Paramètres:
-
string | $video | The video 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:
- 13.1
Définition à la ligne 103 du fichier video.php.
{
return $this->
getConnection($video,
'likes',
'', $limit, $offset, $until, $since);
}
JFacebookVideo::getPicture |
( |
|
$video | ) |
|
Method to get the album-sized view of the video. Requires authentication and user_videos or friends_videos permission for private photos.
- Paramètres:
-
string | $video | The video id. |
- Renvoie:
- string URL of the picture.
- Depuis:
- 13.1
Définition à la ligne 145 du fichier video.php.
JFacebookVideo::getVideo |
( |
|
$video | ) |
|
Method to get a video. Requires authentication and user_videos or friends_videos permission for private videos.
- Paramètres:
-
string | $video | The video id. |
- Renvoie:
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis:
- 13.1
Définition à la ligne 34 du fichier video.php.
{
return $this->get($video);
}
La documentation de cette classe a été générée à partir du fichier suivant :