ConnectApi.VotePage

A page of upvotes or downvotes on a feed element or comment.

Property NameTypeDescriptionAvailable Version
currentPageTokenIntegerToken identifying the current page.42.0
currentPageUrlStringConnect REST API URL identifying the current page.42.0
itemsList<ConnectApi.​Vote>Collection of users and their upvotes or downvotes.
Upvotes include likes and upvotes. For example, if a post receives five likes and three upvotes, the number of upvotes is eight. For this reason, the collection of users and their upvotes also includes users who liked the post or comment. If a user both liked and upvoted a post, they appear only once in the collection.
42.0
nextPageTokenIntegerToken identifying the next page, or null if there isn’t a next page.42.0
nextPageUrlStringConnect REST API URL identifying the next page, or null if there isn’t a next page.42.0
previousPageTokenIntegerToken identifying the previous page, or null if there isn’t a previous page.42.0
previousPageUrlStringConnect REST API URL identifying the previous page, or null if there isn’t a previous page.42.0
totalLongTotal number of upvotes or downvotes for the feed element or comment.
The number of upvotes includes the number of likes and upvotes. For example, if a post receives five likes and three upvotes, the total number of upvotes is eight. If a user both liked and upvoted a post, we count that as two upvotes.
42.0