|
| getLink ($link) |
|
| getComments ($link, $limit=0, $offset=0, $until=null, $since=null) |
|
| createComment ($link, $message) |
|
| deleteComment ($comment) |
|
| getLikes ($link, $limit=0, $offset=0, $until=null, $since=null) |
|
| createLike ($link) |
|
| deleteLike ($link) |
|
| __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 Link class for the Joomla Platform.
3.2.0 deprecated 298.
◆ createComment()
createComment |
( |
|
$link, |
|
|
|
$message |
|
) |
| |
Method to comment on a link. Requires authentication and publish_stream permission.
- Paramètres
-
string | $link | The link 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, $link, et $message.
◆ createLike()
Method to like a link. Requires authentication and publish_stream permission.
- Paramètres
-
- Renvoie
- boolean Returns true if successful, and false otherwise.
- Depuis
- 3.2.0
Références $link.
◆ 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 link. Requires authentication and publish_stream permission.
- Paramètres
-
- Renvoie
- boolean Returns true if successful, and false otherwise.
- Depuis
- 3.2.0
Références $link.
◆ getComments()
getComments |
( |
|
$link, |
|
|
|
$limit = 0 , |
|
|
|
$offset = 0 , |
|
|
|
$until = null , |
|
|
|
$since = null |
|
) |
| |
Method to get a link's comments. Requires authentication and read_stream permission for non-public links.
- Paramètres
-
string | $link | The link 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, $link, et $offset.
◆ getLikes()
getLikes |
( |
|
$link, |
|
|
|
$limit = 0 , |
|
|
|
$offset = 0 , |
|
|
|
$until = null , |
|
|
|
$since = null |
|
) |
| |
Method to get link's likes. Requires authentication and read_stream permission for non-public links.
- Paramètres
-
string | $link | The link 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, $link, et $offset.
◆ getLink()
Method to get a link. Requires authentication and read_stream permission for non-public links.
- Paramètres
-
- Renvoie
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis
- 3.2.0
Références $link.
La documentation de cette classe a été générée à partir du fichier suivant :