Answer the question
In order to leave comments, you need to log in
Why VK API method video.search does not return direct links to videos?
I make a simple request:
$xml= simplexml_load_file('https://api.vk.com/method/video.search.xml?q=test&offset=0&count=1&access_token=token&v=5.37');
print_r($xml);
Answer the question
In order to leave comments, you need to log in
If direct authorization is used in your application , an additional file field is returned containing a link to the video file (if the video is hosted on the VKontakte server) or a link to an external resource (if the video is embedded from some video hosting).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question