Newer Version Available

This content describes an older version of this product. View Latest

Follow a Record

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