M
M
Maxim Uglov2016-01-18 00:58:03
PHP
Maxim Uglov, 2016-01-18 00:58:03

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

3 answer(s)
M
Maxim Uglov, 2016-01-19
@Vencendor

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.

E
entermix, 2016-01-18
@entermix

This method is only available to Standalone applications and web applications that use the confirmation window.

vk.com/dev/wall.post
_ it is not allowed to use it on the server side.

A
arti_djeims, 2016-01-18
@arti_djeims

rights are needed in previous versions there is a captcha

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question