Z
Z
Z372014-06-05 23:59:48
In contact with
Z37, 2014-06-05 23:59:48

How to implement authorization of VKontakte stand-alone application on the command line?

Is it possible to? I just read everywhere that the browser window is called.
Can it be implemented with curlib ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
malerix, 2014-06-06
@malerix

There was an article on Habré about how to do it in python. Although the article is old, the code still works.
Here is the module itself . I think it will not be difficult to write an appropriate script to output access_token to stdout.

S
Stanislav, 2014-06-06
@crackedmind

It is forbidden. It is necessary in the browser, where a window will appear confirming that you want to transfer the rights to this application. But, after taking the access token from the URL, you can work from the command line.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question