Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to extract the direct facebook video url

I am trying to extract the url for facebook video file page from the facebook video link but I am not able to proceed how.

For example: The facebook video url I have is: https://www.facebook.com/nerdandco/videos/1662140250706521/

The facebook video file url I want to extract is: https://video-ord1-1.xx.fbcdn.net/hvideo-xpf1/v/t42.1790-2/12616394_491864644347782_1646982338_n.mp4?efg=eyJybHIiOjU2NywicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoidjNfNDI2X2NyZl8yM19tYWluXzMuMF9zZCJ9&rl=567&vabr=315&oh=333a80044ec836e9b2228afb58cba6c1&oe=56A51D9B

How to get this url using php or javascript? Thanks in advance :)

like image 665
gapc311 Avatar asked Jan 24 '16 16:01

gapc311


1 Answers

Example Facebook link: I cant post more than 2 links. Sorry about that

Video link: No more than 2 links

  1. Change the www to m https://www.facebook.com... change to https://m.facebook.com/

2.Press Ctrl + Shift + I then press Ctrl + Shift + C

3.Click on the video playback and copy the source code form the

I will give you the picture to show you how it look like

this is the pic

like image 126
Null Reference Exception Avatar answered Sep 20 '22 12:09

Null Reference Exception