D
D
Dmitry2015-06-23 21:40:40
Java
Dmitry, 2015-06-23 21:40:40

How to use vk api?

Tell me how to use vk.api, namely how to log in using oauth, in a console application?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
T
Tsiren Naimanov, 2015-06-24
@ImmortalCAT

https://github.com/vknet/vk
https://vknet.github.io/vk/

M
maaGames, 2015-06-24
@maaGames

I don’t know with the help of which mother, but I did the authorization of VKontakte in an android toy and wrote on the wall. I have no idea how I did it, because I don't know Java, or the Android SDK, or the VK API.
And then I read about ASNE on Habré and I liked it.

J
jackroll, 2015-06-23
@jackroll

One , two , three , go on...

A
ar4ebaldello, 2015-06-24
@ar4ebaldello

To do this, you need to open a browser in which you will need to open special. page , wait for a redirect to another special. page and pull out access_token from this address.
I wrote a small template for myself to work with the vki API: here it is . You should look at the LoginWindow class, and the rest of the code.

R
Ruslan Yudin, 2015-06-24
@deleted-Ruslan80849

https://vk.com/dev/auth_mobile Explore this page. It's almost impossible to do it in console. VK also has authorization by login and password - https://vk.com/dev/auth_direct , but this requires agreement with the administration. The link says about it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question