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

Description Usage Arguments Examples

View source: R/friends.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
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

1
2
3
4
## Not run: 
mutual_friends <- getMutual(target_uid=1)

## End(Not run)

Dementiy/vkR documentation built on Oct. 1, 2020, 9:48 a.m.