JLinkedinGroups::getUserPosts
Method to get posts a user started / participated in / follows for a group.
Signature
public function getUserPosts(string
$group_id,
[string
$role = null,
[string
$person_id = null,
[string
$fields = null,
[integer
$start = 0,
[integer
$count = 0,
[string
$order = null,
[string
$category = 'discussion',
[string
$modified_since = null]]]]]]]] )
Parameters
-
$group_id
- The unique identifier for a group.
-
$role
- Filter for posts related to the caller. Valid for: creator, commenter, follower.
-
$person_id
- The unique identifier for a user.
-
$fields
- Request fields beyond the default ones.
-
$start
- Starting location within the result set for paginated returns.
-
$count
- The number of results returned.
-
$order
- Sort order for posts. Valid for: recency, popularity.
-
$category
- Category of posts. Valid for: discussion
-
$modified_since
- Timestamp filter for posts created after the specified value.
Returns
- array
- The decoded JSON response