B
B
beginer1232017-02-01 12:28:30
In contact with
beginer123, 2017-02-01 12:28:30

How to get an infinite token?

Hello, I do not really understand how to implement.
The task is such
It is necessary to make a request from the server to the VK API every 5 minutes.
I make a curlom request
and contact the address:
https://oauth.vk.com/authorize?client_id=......&re...
but nothing comes in the answer.
If I do it through the browser at the same address, then ok I allow all rights and it redirects to the url with the token
BUT the token is not infinite.
How to get infinite?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Gromadchuk, 2017-02-02
@Gromadchuk

scope=offline
Other permissions: vk.com/dev/permissions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question