The following are methods for Chatter. All methods are static.
28.0
Yes
public static void deleteSubscription(String communityId, String subscriptionId)
Type: Void
To leave a group, call deleteMember(communityId, membershipId).
28.0
Yes
public static ConnectApi.FollowerPage getFollowers(String communityId, String recordId)
Type: ConnectApi.FollowerPage
28.0
Yes
public static ConnectApi.FollowerPage getFollowers(String communityId, String recordId, Integer pageParam, Integer pageSize)
Type: ConnectApi.FollowerPage
“Following” a user, group, or record is the same as “subscribing” to a user, group, or record. A “follower” is the user who followed the user, group, or record. A “subscription” is an object describing the relationship between the follower and the user, group, or record they followed.
28.0
Yes
public static ConnectApi.Subscription getSubscription(String communityId, String subscriptionId)
Type: ConnectApi.Subscription