Difference between revisions of "SocialVote"
From LongJump Support Wiki
imported>Aeric m (moved SocialVotes to SocialVote) |
imported>Aeric |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE: | {{DISPLAYTITLE:socialVote}} | ||
Vote on a post ("like"). | |||
;Syntax: | ;Syntax: | ||
:<syntaxhighlight lang="java" enclose="div"> | :<syntaxhighlight lang="java" enclose="div"> | ||
void Functions.socialVote(String id, String action); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
;Parameters: | ;Parameters: | ||
:; | :;id:The ID of the posted message you're voting on. | ||
:;action:A string containing the voting action: | |||
:; | :::* "like" | ||
:::* | |||
;Throws: | ;Throws: | ||
:Exception | :Exception | ||
Latest revision as of 02:28, 3 December 2011
Vote on a post ("like").
- Syntax
void Functions.socialVote(String id, String action);
- Parameters
-
- id
- The ID of the posted message you're voting on.
- action
- A string containing the voting action:
- "like"
- Throws
- Exception