JLinkedinGroups
class JLinkedinGroups extends JLinkedinObject
Linkedin API Groups class for the Joomla Platform.
Methods
Constructor.
Set an option for the JLinkedinObject instance.
Method to get a group.
Method to find the groups a member belongs to.
Method to find the groups a member belongs to.
Method to change a groups settings.
Method to join a group.
Method to leave a group.
Method to get dicussions for a group.
Method to get posts a user started / participated in / follows for a group.
Method to retrieve details about a post.
Method to retrieve all comments of a post.
Method to retrieve all comments of a post.
Method used to like a post.
Method used to unlike a post.
Method used to follow a post.
Method used to unfollow a post.
Method to flag a post as a Promotion or Job.
Method to delete a post if the current user is the creator or flag it as inappropriate otherwise.
Method to access the comments resource.
Method to add a comment to a post
Method to delete a comment if the current user is the creator or flag it as inappropriate otherwise.
Method to get suggested groups for a user.
Method to delete a group suggestion for a user.
Details
__construct(
Registry $options = null,
JHttp $client = null,
JLinkedinOAuth $oauth = null)
Constructor.
JLinkedinObject
setOption(
string $key,
mixed $value)
Set an option for the JLinkedinObject instance.
array
getGroup(
string $id,
string $fields = null,
integer $start,
integer $count = 5)
Method to get a group.
array
getMemberships(
string $id = null,
string $fields = null,
integer $start,
integer $count = 5,
string $membership_state = null)
Method to find the groups a member belongs to.
array
getSettings(
string $person_id = null,
string $group_id = null,
string $fields = null,
integer $start,
integer $count = 5)
Method to find the groups a member belongs to.
array
changeSettings(
string $group_id,
boolean $show_logo = null,
string $digest_frequency = null,
boolean $announcements = null,
boolean $allow_messages = null,
boolean $new_post = null)
Method to change a groups settings.
array
joinGroup(
string $group_id,
boolean $show_logo = null,
string $digest_frequency = null,
boolean $announcements = null,
boolean $allow_messages = null,
boolean $new_post = null)
Method to join a group.
array
getDiscussions(
string $id,
string $fields = null,
integer $start,
integer $count,
string $order = null,
string $category = 'discussion',
string $modified_since = null)
Method to get dicussions for a group.
array
getUserPosts(
string $group_id,
string $role,
string $person_id = null,
string $fields = null,
integer $start,
integer $count,
string $order = null,
string $category = 'discussion',
string $modified_since = null)
Method to get posts a user started / participated in / follows for a group.
array
getPostComments(
string $post_id,
string $fields = null,
integer $start,
integer $count)
Method to retrieve all comments of a post.
string
createPost(
string $group_id,
string $title,
string $summary)
Method to retrieve all comments of a post.
array
deletePost(
string $post_id)
Method to delete a post if the current user is the creator or flag it as inappropriate otherwise.
array
getComment(
string $comment_id,
string $fields = null)
Method to access the comments resource.
array
deleteComment(
string $comment_id)
Method to delete a comment if the current user is the creator or flag it as inappropriate otherwise.