vk_friends_get
Retrieve a list of user IDs or detailed profile information about a user's friends using parameters like sort order, friend list, and fields.
Instructions
Returns a list of user IDs or detailed information about a user's friends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User ID. By default, the current user ID. | |
| order | No | Sort order: , 'name' - by name (enabled only if the 'fields' parameter is used), 'hints' - by rating, similar to how friends are sorted in My friends section, , This parameter is available only for [vk.com/dev/standalone|desktop applications]. | |
| list_id | No | ID of the friend list returned by the [vk.com/dev/friends.getLists|friends.getLists] method to be used as the source. This parameter is taken into account only when the uid parameter is set to the current user ID. This parameter is available only for [vk.com/dev/standalone|desktop applications]. | |
| count | No | Number of friends to return. | |
| offset | No | Offset needed to return a specific subset of friends. | |
| fields | No | Profile fields to return. Sample values: 'uid', 'first_name', 'last_name', 'nickname', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'domain', 'has_mobile', 'rate', 'contacts', 'education'. | |
| ref | No |