B
B
bozilly2015-07-24 00:49:48
PHP
bozilly, 2015-07-24 00:49:48

How to log in when working with the VK API?

PHP script should silently pull the video preview.
To do this, the VK documentation suggests logging in to
vk.com/dev/auth_sites
And then getting pictures using
vk.com/dev/video.get
But this is f$$ not suitable.!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!
Using this method, you need to constantly log in
N-KWdMRhJ9w.jpg
. And then allow access for the full extravaganza
9xUcCkP9XtI.jpg
. Can I somehow solve such a complex and dangerous task as getting a video preview?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniel Skribailo, 2015-07-24
@bozilly

Actually, you can do everything through get requests, I'm talking about authorization, you just need to sniff the packets and correctly fold the requests, or create a token by hand. Suto according to the subject, there is such a parameter as offline ( in rights ), it gives your token immortality (by the way, there is an example at the end). But think twice before using it.
Yes, for sure, I did it like this, I wrote a script on a computer (sverve) (I think I used ffmpeg) and poured them into the image hoster. Although you have found a more elegant way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question