users

users.getSubscriptions

The translation was generated automatically and may contain mistakes

Returns a list of user IDs and public pages that are included in the user's subscription list.

To call this method, you can use:

Parameters

user_id

positive

Identification of the user whose subscriptions need to be obtained.

extended

checkbox

1 Returns a combined list containing objects group and user вместе. 0 Returns a list of group and user IDs separately (by default).

offset

positive

Смещение необходимое для выборки определенного подмножества подписок. Этот параметр используется только если передан extended = 1 .

count

positive

The number of subscriptions that need to be returned. This parameter is only used if extended = 1 .

fields

string

List of additional fields for objects user and group which must be returned.

Result

After successful execution, return objects users and groups Each of which contains a field. count The number of results and items - a list of user IDs or public pages to which the current user is subscribed (from the section "Interesting pages").

If a parameter has been set extended = 1 returns a combined array of objects group and user in the field items and the total number of results in the field count .

Error codes

Common errors may occur during execution