Follow a Record

This example calls the follow(communityId, userId, subjectId) method to follow a record.
ChatterUsers.ConnectApi.Subscription subscriptionToRecord = ConnectApi.ChatterUsers.follow(null, 'me', '001RR000002G4Y0');
Previous
Next