\JFacebookGroup
Facebook API Group class for the Joomla Platform.
Synopsis
class JFacebookGroup
extends JFacebookObject
{
- // Inherited members from JFacebookObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JFacebookOAuth $oauth;
- // methods
- public mixed getGroup()
- public mixed getFeed()
- public mixed getMembers()
- public mixed getDocs()
- public string getPicture()
- public mixed createLink()
- public boolean deleteLink()
- public mixed createPost()
- public boolean deletePost()
- public mixed createStatus()
- public boolean deleteStatus()
- // Inherited methods from JFacebookObject
- public void __construct()
- protected string fetchUrl()
- public mixed sendRequest()
- public mixed get()
- public mixed getConnection()
- public mixed createConnection()
- public mixed deleteConnection()
- public JFacebookObject setOAuth()
- public JFacebookOAuth getOAuth()
Hierarchy
Extends
Members
protected
- $client — JHttp
- $oauth — JFacebookOAuth
- $options — JRegistry
Methods
public
- createLink() — Method to post a link on group's wall. Requires authentication and publish_stream permission.
- createPost() — Method to post on group's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
- createStatus() — Method to post a status message on behalf of the user on the group's wall. Requires authentication and publish_stream permission.
- deleteLink() — Method to delete a link. Requires authentication.
- deletePost() — Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication.
- deleteStatus() — Method to delete a status. Note: you can only delete the status if it was created by the current user. Requires authentication.
- getDocs() — Method to get the group's docs. Requires authentication and user_groups or friends_groups permission for non-public groups.
- getFeed() — Method to get the group's wall. Requires authentication and user_groups or friends_groups permission for non-public groups.
- getGroup() — Method to read a group. Requires authentication and user_groups or friends_groups permission for non-public groups.
- getMembers() — Method to get the group's members. Requires authentication and user_groups or friends_groups permission for non-public groups.
- getPicture() — Method to get the groups's picture. Requires authentication and user_groups or friends_groups permission.
Inherited from JFacebookObject
protected
- fetchUrl() — Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
public
- createConnection() — Method to create a connection.
- deleteConnection() — Method to delete a connection.
- get() — Method to get an object.
- getConnection() — Method to get object's connection.
- getOAuth() — Method used to get the OAuth client.
- sendRequest() — Method to send the request.
- setOAuth() — Method used to set the OAuth client.