getSocialFollowers

From LongJump Support Wiki
Revision as of 01:47, 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 filter);
Parameters
  • For list of type, see relay type table in the link (to REST table) in the spec
  • type and id are required.
  • Filter is optional.
  • ObjectId is required if the type is Record.


objectName
The object name or identifier
fields
A comma-separated list of names of the fields to retrieve
criteria
A filter expression that specifies records to select.
params
An optional Parameters object that contains additional parameters:
  • param - ...
Returns
A CollectionBean containing the SocialUserBean objects for users who are following the resource.
Throws
Exception
Example
This example ....
...