W
W
Web Lizard2017-02-10 18:14:43
PHP
Web Lizard, 2017-02-10 18:14:43

How to get data from VKontakte video?

Hey!
There is a link to the video from VKontakte. For example, like this

https://vk.com/video-112250475_456239173

Question - how to get the title out of it using php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
danis_2014, 2017-02-10
@Lizard-108

Delete the entire part up to the "-" character. Divide the remaining part through "_" The
lines -112250475 and 456239173 (in your example) are obtained. These are the owner_id and video id. Using the VK API and the video.get method , you can already get complete information about the video.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question