Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question