Newer Version Available

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

Follow a Record

This example calls the follow(String, String, String) method to follow a record.
1swfobject.registerObject("clippy.codeblock-0", "9");ChatterUsers.ConnectApi.Subscription subscriptionToRecord = ConnectApi.ChatterUsers.follow(null, 'me', '001RR000002G4Y0');