Answer the question
In order to leave comments, you need to log in
How to get an eternal token for VK?
According to the instructions on https://vk.com/dev/first_guide , I decided to make myself an *eternal* token so as not to change it every other time. I entered a link in the browser of the following type: https://oauth.vk.com/blank.html#access_token=TOKEN... scope=offline
I
wrote a simple program that displays a list of online friends, but after a while everything stopped working - it passed even less than a day.
Got the token again, set scope=offline again. Everything worked.
Maybe I made a mistake somewhere? *didn’t change the password, didn’t exit, etc.*
Here is the error in the program before changing the old token to a new one:
PS After about two hours, the problem repeated itself and the token became invalid again:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question