Likes an object on behalf of the current user.
This method requires the following permissions: likes.
Parameters
type
enum
Object type.
photo– Photophoto_comment– A comment on a photopost– Wall post or commenttopic_comment– A comment in a discussion board topic
item_id
string
Identifier of the object to be liked.
Result
An object:
likes
integer
(non-negative)
The new number of likes on the target object.