C
C
croatian2016-11-29 21:52:08
In contact with
croatian, 2016-11-29 21:52:08

VK API - why does the photos.getMessagesUploadServer method display error 15?

There is an application VK Iframe.
From the backend, I turn to the photos.getMessagesUploadServer method and constantly display error 15: Access denied: no access to call this method, although I pass the access_token from the GET request to the frame into the request. In the same way, I turn to the photos.getWallUploadServer method - everything is ok there.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Zhilyaev, 2016-11-30
@croatian

All because

This method can be called with a user access key obtained in the Standalone application via Implicit Flow.
as it is impossible to work with messages in iframe applications.
And photos.getWallUploadServer is possible, since wall posts can be sent from an iframe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question