vk_groups_get_members
Retrieve a list of VK community members with options for sorting, filtering, pagination, and selecting additional fields.
Instructions
Returns a list of community members.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | No | ID or screen name of the community. | |
| sort | No | Sort order. Available values: 'id_asc', 'id_desc', 'time_asc', 'time_desc'. 'time_asc' and 'time_desc' are availavle only if the method is called by the group's 'moderator'. | id_asc |
| offset | No | Offset needed to return a specific subset of community members. | |
| count | No | Number of community members to return. | |
| fields | No | List of additional fields to be returned. Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'. | |
| filter | No | *'friends' - only friends in this community will be returned,, *'unsure' - only those who pressed 'I may attend' will be returned (if it's an event). |