likesGetList function

Returns a list of IDs of users who added the specified object to their Likes list

Returns a list of IDs of users who added the specified object to their Likes list

likesGetList( type = "", owner_id = "", item_id = "", page_url = "", filter = "", friends_only = "0", extended = "", offset = "", count = "100", skip_own = 0, v = getAPIVersion() )

Arguments

  • type: Object type
  • owner_id: ID of the user, community, or application that owns the object
  • item_id: Object ID
  • page_url: URL of the page where the Like widget is installed. Used instead of the item_id parameter
  • 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)
  • offset: Offset needed to select a specific subset of users
  • count: Number of user IDs to return (maximum 1000)
  • skip_own: Flag, either 1 or 0
  • v: Version of API
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29