Newer Version Available

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

Follow a Record

This example calls the follow(communityId, userId, subjectId) method to follow a record.
1swfobject.registerObject("clippy.codeblock-0", "9");
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17ChatterUsers.ConnectApi.Subscription subscriptionToRecord = ConnectApi.ChatterUsers.follow(null, 'me', '001RR000002G4Y0');