S
S
stspvs2015-12-15 22:51:18
Android
stspvs, 2015-12-15 22:51:18

Long access_token in classmates?

An application is being developed for android with authorization on classmates via OAuth 2.0. In this case, the access token has a lifetime of 30 minutes, so you have to force the user to re-enter OK. But judging by the message ok.ru/apiok/topic/63526238060664 , there are long tokens with a much longer lifetime.
Can anyone tell me how to use this long tokens feature in this case?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valery Ozhiganov, 2015-12-18
@stspvs

You need to request a LONG_ACCESS_TOKEN permission to [email protected] and add it to the scope with OAuth.

D
Dmitry, 2015-12-16
@ExileeD

Use refresh_token

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question