R
R
Roman Kalita2016-07-26 12:27:20
In contact with
Roman Kalita, 2016-07-26 12:27:20

How to log out on VKontakte via the API?

I am writing a mobile application in JavaScript.
How to log out on VKontakte via the API?
The request oauth.vk.com/logoutdoes not help, returns wrong logout hash. Where can this hash be found?
What are the options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ninazu, 2016-07-26
@Ninazu

$('#logout_link').href

или

$('.mmi_logout a').href

или

VK.Auth.logout()

или просто забудьте токен)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question