Returns a list of IDs of users who added the specified objects to their Likes list
Returns a list of IDs of users who added the specified objects to their Likes list
likesGetListForObjects( objects, type ="post", filter ="likes", friends_only =0, extended =0, skip_own =0, progress_bar =FALSE, v = getAPIVersion())
Arguments
objects: List of objects (objects must contain fields owner_id and id)
type: Object type (post or comment)
filter: Filters to apply: likes - returns information about all users who liked the object (default); copies - returns information only about users who told their friends about the object
friends_only: Specifies which users are returned: 1 - to return only the current user's friends; 0 - to return all users (default)
extended: Specifies whether extended information will be returned. 1 - to return extended information about users and communities from the Likes list; 0 - to return no additional information (default)
skip_own: flag, either 1 or 0
progress_bar: Display progress bar
v: Version of API
Examples
## Not run:wall <- getWallExecute(domain ='privivkanet', count =10, progress_bar =TRUE)post_likers <- likesGetListForObjects(wall, type ='post', progress_bar =TRUE)post_likers_extended <- likesGetListForObjects(wall, type ='post', extended =1, progress_bar =TRUE)## End(Not run)