vk_groups_get
Retrieves a list of communities (groups, public pages, events) a VK user belongs to, with optional filters and extended information.
Instructions
Returns a list of the communities to which a user belongs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User ID. | |
| extended | No | '1' - to return complete information about a user's communities, '0' - to return a list of community IDs without any additional fields (default), | |
| filter | No | Types of communities to return: 'admin' - to return communities administered by the user , 'editor' - to return communities where the user is an administrator or editor, 'moder' - to return communities where the user is an administrator, editor, or moderator, 'groups' - to return only groups, 'publics' - to return only public pages, 'events' - to return only events | |
| fields | No | Profile fields to return. | |
| offset | No | Offset needed to return a specific subset of communities. | |
| count | No | Number of communities to return. |