JFacebookComment
class JFacebookComment extends JFacebookObject
Facebook API Comment 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 comment. Requires authentication.
Method to delete a comment. Requires authentication and publish_stream permission.
Method to get a comment's comments. Requires authentication.
Method to comment on a comment. Requires authentication with publish_stream permission.
Method to get comment's likes. Requires authentication.
Method to like a comment. Requires authentication and publish_stram permission.
Method to unlike a comment. Requires authentication and publish_stram permission.
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.
boolean
deleteComment(
string $comment)
Method to delete a comment. Requires authentication and publish_stream permission.
mixed
getComments(
string $comment,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get a comment's comments. Requires authentication.
mixed
createComment(
string $comment,
string $message)
Method to comment on a comment. Requires authentication with publish_stream permission.
mixed
getLikes(
string $comment,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get comment's likes. Requires authentication.