< back to index
GET https://api.wevoteusa.org/apis/v1/reactionLikeCount (Jump to "Try It Now")
||An 88 character unique identifier linked to a voter record on the server
||string (from post, cookie, or get (in that order))
||The unique key provided to any organization using the WeVoteServer APIs
||The position that the voter is liking.
||If you want the number of Likes returned to *only* be from people in the voter's network, pass the value True.
"voter_device_id": string (88 characters long),
"type_of_count": string, (is this a count based on ALL or VOTER_NETWORK)
"number_of_likes": integer, (will be same count as all_likes and voter_network_likes values- is provided if the front end would rather work with a type_of_count switch)
Response Status Codes
||Cannot proceed. A valid voter_device_id parameter was not included.
||Cannot proceed. A valid voter_id was not found.
Try It Now: API Variables
The total number of Likes that a position has received, either from the perspective of your network of friends, or the entire network.