N
N
Niriter Inc.2019-12-02 22:48:02
API
Niriter Inc., 2019-12-02 22:48:02

VK api get current group id?

The problem is getting the group_id
I get the access_token of the group and log in,
then I want to install CallbackServer, but this requires a group_id (for technical reasons I get only a token, without a group id)
And now the task is to get the id of the group from which I logged in, but nothing didn't find it on google

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Niriter Inc., 2019-12-02
@niriter

figured out, id can be obtained through groups.getById without specifying additional fields, and then [0]['id'] is taken

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question