|
| 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 (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 Video class for the Joomla Platform.
3.2.0 deprecated 306.
◆ createComment()
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
- 3.2.0
Références $data, et $message.
◆ createLike()
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
- 3.2.0
◆ deleteComment()
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
- 3.2.0
◆ deleteLike()
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
- 3.2.0
◆ getComments()
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
- 3.2.0
Références $limit, et $offset.
◆ getLikes()
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
- 3.2.0
Références $limit, et $offset.
◆ getPicture()
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
- 3.2.0
◆ getVideo()
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
- 3.2.0
La documentation de cette classe a été générée à partir du fichier suivant :