vk_friends_get_mutual
Retrieve mutual friends between two VK users by providing source and target user IDs. Optionally get total count or a subset.
Instructions
Returns a list of user IDs of the mutual friends of two users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_uid | No | ID of the user whose friends will be checked against the friends of the user specified in 'target_uid'. | |
| target_uid | No | ID of the user whose friends will be checked against the friends of the user specified in 'source_uid'. | |
| target_uids | No | IDs of the users whose friends will be checked against the friends of the user specified in 'source_uid'. | |
| order | No | Sort order: 'random' - random order | |
| count | No | Number of mutual friends to return. | |
| offset | No | Offset needed to return a specific subset of mutual friends. | |
| need_common_count | No | Return mutual friends total count |