JFacebookLink
class JFacebookLink extends JFacebookObject
Facebook API Link 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 link. Requires authentication and read_stream permission for non-public links.
Method to get a link's comments. Requires authentication and read_stream permission for non-public links.
Method to comment on a link. Requires authentication and publish_stream permission.
Method to delete a comment. Requires authentication and publish_stream permission.
Method to get link's likes. Requires authentication and read_stream permission for non-public links.
Method to like a link. Requires authentication and publish_stream permission.
Method to unlike a link. 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
getLink(
string $link)
Method to get a link. Requires authentication and read_stream permission for non-public links.
mixed
getComments(
string $link,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get a link's comments. Requires authentication and read_stream permission for non-public links.
mixed
createComment(
string $link,
string $message)
Method to comment on a link. Requires authentication and publish_stream permission.
mixed
deleteComment(
string $comment)
Method to delete a comment. Requires authentication and publish_stream permission.
mixed
getLikes(
string $link,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get link's likes. Requires authentication and read_stream permission for non-public links.