Getting vk.com embed code automatically

user2327579 picture user2327579 · Jan 10, 2014 · Viewed 7.2k times · Source

I want to automatically get vk.com embed code. I've already figured out how to get part of it

http://vk.com/video_ext.php?oid=3145131&id=159485516&hash=d821df23b7dc0b54&hd=1

I've got the oid and id from the page source but the hash is being computed once i click on the video and what i want is that given a link like this http://vk.com/video56612186 i want to get the embed codes of the videos in the folder. Is this possible?

Answer