S
S
Sergey2019-05-14 10:15:54
JavaScript
Sergey, 2019-05-14 10:15:54

How to check the permissions for the VK group in the community app?

To send messages on behalf of the community, run the permission request method for the VK group. However, the question arose of how to check at the next start whether permission was given. All user permissions are transferred at startup in the api_settings variable, from where you can understand what permissions are issued from the user, and I can’t find in the documentation how to check the issuance of, for example, messages (+4096) rights from the group. Has anyone experienced or knows?

VK.init(function() { 
                     //Успех
         VK.callMethod("showGroupSettingsBox", 4096);
      }, function() { 
                     //Ошибка загрузки
    }, '5.95');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max Payne, 2019-05-14
@goodwin74

groups.getTokenPermissions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question