JFacebookNote
class JFacebookNote extends JFacebookObject
Facebook API Note class for the Joomla Platform.
Methods
Constructor.
Method to send the request.
Method to get object's connection.
Method to create a connection.
Method to delete a connection.
Method to get a note. Requires authentication and usernotes or friendsnotes permission for non-public notes.
Method to get a note's comments. Requires authentication and usernotes or friendsnotes permission for non-public notes.
Method to comment on a note. Requires authentication and publishstream and usernotes or friends_notes permissions.
Method to delete a comment. Requires authentication and publishstream and usernotes or friends_notes permissions.
Method to get note's likes. Requires authentication and usernotes or friendsnotes for non-public notes.
Method to like a note. Requires authentication and publishstream and usernotes or friends_notes permissions.
Method to unlike a note. Requires authentication and publishstream and usernotes or friends_notes permissions.
Details
__construct(
Registry $options = null,
JHttp $client = null,
JFacebookOAuth $oauth = null)
Constructor.
mixed
sendRequest(
string $path,
mixed $data = '',
array $headers = null,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to send the request.
mixed
getConnection(
string $object,
string $connection = null,
string $extra_fields = '',
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get object's connection.
mixed
createConnection(
string $object,
string $connection = null,
array $parameters = null,
array $headers = null)
Method to create a connection.
mixed
deleteConnection(
string $object,
string $connection = null,
string $extra_fields = '')
Method to delete a connection.
mixed
getNote(
string $note)
Method to get a note. Requires authentication and usernotes or friendsnotes permission for non-public notes.
mixed
getComments(
string $note,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get a note's comments. Requires authentication and usernotes or friendsnotes permission for non-public notes.
mixed
createComment(
string $note,
string $message)
Method to comment on a note. Requires authentication and publishstream and usernotes or friends_notes permissions.
boolean
deleteComment(
string $comment)
Method to delete a comment. Requires authentication and publishstream and usernotes or friends_notes permissions.
mixed
getLikes(
string $note,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get note's likes. Requires authentication and usernotes or friendsnotes for non-public notes.