JFacebookPost
class JFacebookPost extends JFacebookObject
Facebook API Post 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 post. Requires authentication and read_stream permission for all data.
Method to delete a post if it was created by this application. Requires authentication and publish_stream permission
Method to get a post's comments. Requires authentication and read_stream permission.
Method to comment on a post. Requires authentication and publish_stream permission
Method to delete a comment. Requires authentication and publish_stream permission
Method to get post's likes. Requires authentication and read_stream permission.
Method to like a post. Requires authentication and publish_stream permission
Method to unlike a post. Requires authentication and publish_stream 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.
mixed
getPost(
string $post)
Method to get a post. Requires authentication and read_stream permission for all data.
boolean
deletePost(
string $post)
Method to delete a post if it was created by this application. Requires authentication and publish_stream permission
mixed
getComments(
string $post,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get a post's comments. Requires authentication and read_stream permission.
mixed
createComment(
string $post,
string $message)
Method to comment on a post. Requires authentication and publish_stream permission
boolean
deleteComment(
string $comment)
Method to delete a comment. Requires authentication and publish_stream permission
mixed
getLikes(
string $post,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get post's likes. Requires authentication and read_stream permission.