I
I
Ilya Beloborodov2015-12-19 03:28:46
PHP
Ilya Beloborodov, 2015-12-19 03:28:46

How to solve the problem with access_token?

In general, I worked with vk api on LAN, everything is fine, I did everything and everything works, I decided to transfer the script to the server. Rescheduled. vk returns an error
User authorization failed: access_token was given to another ip address
I realized that you need to change the domain in the application settings, changed it. Same error. Then I tried to get a new token, got the same error. Then I decided to register a new application. Registered, received a token, but the error is still the same. What the hell is wrong???
For LAN, I created a new application, a new token, and everything works. but not on the server

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2015-12-19
@kowap

Are you kidding me? They wrote to you in an error what the problem is, what, Mlyn, domain, and how did you understand this?
Put it in Google Translate and understand that the token received with the home IP does not work on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question