Checks whether a user likes an object.
This method can be called without an access token.
Parameters
user_id
integer
(positive)
The user identifier for which the like needs to be checked.
By default, the current user.
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 target object.
Result
An object:
liked
boolean
Whether the user likes this object.
reposted
boolean
Whether the user has reposted this post or comment.