Answer the question
In order to leave comments, you need to log in
How to solve an error when working with Vk API?
The task is to post posts with pictures from the server to the group. I use https://github.com/fdcore/vk.api
why the error started to appear, it didn't exist before:
Validation required: please open redirect_uri in browser
how can I fix this?
I tried to set the rights offline, when receiving a token.
I tried to redirect redirect_uri to the site from the server of which I will post
, nothing helps.
Answer the question
In order to leave comments, you need to log in
Solution: there is a redirect_uri among the error data, this address usually looks like https://m.vk.com/login?act=security_check&api_hash... you need to open it from the same ip as the api call. When opening, the phone can be checked, as when opening your page from another country.
This method is only available to Standalone applications and web applications that use the confirmation window.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question