getMutual function

Returns a list of user IDs of the mutual friends of two users

Returns a list of user IDs of the mutual friends of two users

getMutual( source_id = "", target_uid = "", target_uids = "", order = "", count = "", offset = "", v = getAPIVersion() )

Arguments

  • source_id: ID of the user whose friends will be checked against the friends of the user specified in target_uid
  • target_uid: ID of the user whose friends will be checked against the friends of the user specified in source_uid
  • target_uids: List of target uids (list of comma-separated positive numbers, the maximum number of elements allowed is 100)
  • order: Sort order
  • count: Number of mutual friends to return
  • offset: Offset needed to return a specific subset of mutual friends
  • v: Version of API

Examples

## Not run: mutual_friends <- getMutual(target_uid=1) ## End(Not run)
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29