A
A
Alexey Volegov2014-10-10 22:04:31
In contact with
Alexey Volegov, 2014-10-10 22:04:31

How to increase expires_in for VK OAuth?

When authorizing using OAuth technology on the vk.com website, the token lifetime is returned, the expires_in field.
In practice, this value is very small and makes it possible to work with the user's token for about a day.
Is there any way to increase the expires_in time for app offline?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
F
fellfree, 2017-04-03
@fellfree

request with
scope=offline
will return
[expires_in] => 0

N
Nazar Mokrinsky, 2014-10-10
@nazarpc

Just refresh the token. If you work autonomously - why do you need a token?

P
Puma Thailand, 2014-10-11
@opium

What's stopping you from updating the token?

T
Taras Labiak, 2014-10-11
@kissarat

A day is not enough?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question