Newer Version Available

This content describes an older version of this product. View Latest

Comment Likes

Get information about the likes for a comment. Like or unlike a comment.
Resource
Available version
23.0
Requires Chatter
Yes
HTTP methods
GET, PATCH, POST

PATCH is supported in version 39.0 and later.

Request parameters for GET
Parameter Name Type Description
page Integer Specifies the number of the page you want returned.
pageSize Integer Specifies the number of items per page. Valid values are from 1 through 100. If you don't specify a size, the default is 25.
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
isLikedBy​CurrentUser Boolean Specifies whether the context user likes (true) or unlikes (false) the comment. Required 39.0
Response body for GET and PATCH
Like Page
Request parameters for POST

POST doesn’t take request parameters or a request body.

Note

Response body for POST
Like