getSocialVotes
From LongJump Support Wiki
Get a count of votes on a post.
- Syntax
CollectionBean votes; votes = Functions.getSocialVotes(String id, String action, String criteria);
- Parameters
-
- id
- The ID of a posted message.
- action
- A string containing the voting action:
- "like"
- criteria
- A filter expression that specifies the kinds of votes to select.
- Returns
- A CollectionBean containing IDBean objects that point to User records.
- Throws
- Exception