Liste de tous les membres
Fonctions membres publiques |
| getNote ($note) |
| getComments ($note, $limit=0, $offset=0, $until=null, $since=null) |
| createComment ($note, $message) |
| deleteComment ($comment) |
| getLikes ($note, $limit=0, $offset=0, $until=null, $since=null) |
| createLike ($note) |
| deleteLike ($note) |
| __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 note.php.
Documentation des fonctions membres
JFacebookNote::createComment |
( |
|
$note, |
|
|
|
$message |
|
) |
| |
Method to comment on a note. Requires authentication and publish_stream and user_notes or friends_notes permissions.
- Paramètres:
-
string | $note | The note 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 note.php.
{
$data = array();
$data['message'] = $message;
}
JFacebookNote::createLike |
( |
|
$note | ) |
|
Method to like a note. Requires authentication and publish_stream and user_notes or friends_notes permissions.
- Paramètres:
-
- Renvoie:
- boolean Returns true if successful, and false otherwise.
- Depuis:
- 13.1
Définition à la ligne 117 du fichier note.php.
JFacebookNote::deleteComment |
( |
|
$comment | ) |
|
Method to delete a comment. Requires authentication and publish_stream and user_notes or friends_notes permissions.
- 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 note.php.
JFacebookNote::deleteLike |
( |
|
$note | ) |
|
Method to unlike a note. Requires authentication and publish_stream and user_notes or friends_notes permissions.
- Paramètres:
-
- Renvoie:
- boolean Returns true if successful, and false otherwise.
- Depuis:
- 13.1
Définition à la ligne 131 du fichier note.php.
JFacebookNote::getComments |
( |
|
$note, |
|
|
|
$limit = 0 , |
|
|
|
$offset = 0 , |
|
|
|
$until = null , |
|
|
|
$since = null |
|
) |
| |
Method to get a note's comments. Requires authentication and user_notes or friends_notes permission for non-public notes.
- Paramètres:
-
string | $note | The note 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 note.php.
{
return $this->
getConnection($note,
'comments',
'', $limit, $offset, $until, $since);
}
JFacebookNote::getLikes |
( |
|
$note, |
|
|
|
$limit = 0 , |
|
|
|
$offset = 0 , |
|
|
|
$until = null , |
|
|
|
$since = null |
|
) |
| |
Method to get note's likes. Requires authentication and user_notes or friends_notes for non-public notes.
- Paramètres:
-
string | $note | The note 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 note.php.
{
return $this->
getConnection($note,
'likes',
'', $limit, $offset, $until, $since);
}
JFacebookNote::getNote |
( |
|
$note | ) |
|
Method to get a note. Requires authentication and user_notes or friends_notes permission for non-public notes.
- Paramètres:
-
- Renvoie:
- mixed The decoded JSON response or false if the client is not authenticated.
- Depuis:
- 13.1
Définition à la ligne 34 du fichier note.php.
{
return $this->get($note);
}
La documentation de cette classe a été générée à partir du fichier suivant :