getSocialFollowers

From LongJump Support Wiki
Revision as of 03:02, 3 December 2011 by imported>Aeric

Get a list of users who are following a resource.

Syntax
CollectionsBean followers;
followers = Functions.getSocialFollowers(String type, String id, String objectId, String criteria);
Parameters
type
A string containing one of the Relay Feed Types. (required)
id
The ID of the feed. (required)
objectId
Required if the feed type is "record". Otherwise, it can be an empty string or null.
criteria
A filter expression that specifies records to select.
Returns
A CollectionBean containing the SocialUserBean objects for users who are following the resource.
Throws
Exception