JFacebookGroup
class JFacebookGroup extends JFacebookObject
Facebook API Group 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 read a group. Requires authentication and usergroups or friendsgroups permission for non-public groups.
Method to get the group's wall. Requires authentication and usergroups or friendsgroups permission for non-public groups.
Method to get the group's members. Requires authentication and usergroups or friendsgroups permission for non-public groups.
Method to get the group's docs. Requires authentication and usergroups or friendsgroups permission for non-public groups.
Method to get the groups's picture. Requires authentication and usergroups or friendsgroups permission.
Method to post a link on group's wall. Requires authentication and publish_stream permission.
Method to delete a link. Requires authentication.
Method to post on group's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication.
Method to post a status message on behalf of the user on the group's wall. Requires authentication and publish_stream permission.
Method to delete a status. Note: you can only delete the status if it was created by the current user. Requires authentication.
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
getGroup(
string $group)
Method to read a group. Requires authentication and usergroups or friendsgroups permission for non-public groups.
mixed
getFeed(
string $group,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get the group's wall. Requires authentication and usergroups or friendsgroups permission for non-public groups.
mixed
getMembers(
string $group,
integer $limit,
integer $offset)
Method to get the group's members. Requires authentication and usergroups or friendsgroups permission for non-public groups.
mixed
getDocs(
string $group,
integer $limit,
integer $offset,
string $until = null,
string $since = null)
Method to get the group's docs. Requires authentication and usergroups or friendsgroups permission for non-public groups.
string
getPicture(
string $group,
string $type = null)
Method to get the groups's picture. Requires authentication and usergroups or friendsgroups permission.
mixed
createLink(
string $group,
string $link,
string $message = null)
Method to post a link on group's wall. Requires authentication and publish_stream permission.
mixed
createPost(
string $group,
string $message = null,
string $link = null,
string $picture = null,
string $name = null,
string $caption = null,
string $description = null,
array $actions = null)
Method to post on group's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
boolean
deletePost(
string $post)
Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication.