M
M
Matthew Stafford2019-03-27 21:59:43
API
Matthew Stafford, 2019-03-27 21:59:43

Why is there no access to some VK API methods?

Hello!
I have authorization on the site through the VK API. When authorizing, I immediately save the user's token so that in the future he himself could interact with it. However, apparently, the Authorization code flow does not allow me to fully implement all the functionality on this token, and when calling some methods, it gives me error #15.

The actual error...
{"error":{"error_code":15,"error_msg":"Access denied: no access to call this method","request_params":[{"key":"oauth","value":"1"},{"key":"method","value":"groups.getRequests"}

But if I get a token with the same scope through the vkhost.github.io service , and then manually copy it and save it on the site, then absolutely all the methods I need start working.
Actually the question itself:
Is there any way to get around this problem with restricting access to some VKontakte methods and immediately get a completely valid user token that will click only one button Authorize ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-03-27
@matthewstafford

when calling the methods of the messages section, there will be an error, because the Messages API is limited
through that service, because the token is received there through applications that have access to the Messages API
you can if you ask support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question