P
P
Pasha2014-03-29 17:59:32
In contact with
Pasha, 2014-03-29 17:59:32

How to get vk api token from standalone js?

Hello, I am writing a js application using vk api.
There was a problem with obtaining a token during client authorization. I send a request, I get a redirect to https://oauth.vk.com/blank.html#token. Actually, how to get this same token from the browser line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sasha, 2014-03-30
@korovnikiss

no way. This is the essence of such authorization - the token cannot be pulled out without using something that can go inside the contact page. Such authorization is used in programs that can do this, but js is not. The token can be pulled out, for example, using a chrome extension

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question