For this post, we will going to extract the direct link of a particular Facebook live which is usually in MPD format using Youtube-dl. Youtube-dl is a free open source program that allows you to extract download links of videos from Youtube, Facebook and other popular video websites. It also allows you to extract Facebook live mpd link, and Youtube live streaming link which is always in m3u8 format. Other supported sites are all listed here.


But let us just stick to Facebook for this one. Now, to start this tutorial, you are going to need the following. Please be noted that I am using Windows OS for this one.

NEEDED:

a. Youtube-dl, download here. For more information about Youtube-dl visit its Github page here.
b. A Facebook live streaming link (e.g. https://web.facebook.com/Sports5PH/videos/470224877147816/)

Now, after downloading the Youtube-dl executable file and having a valid live streaming from Facebook continue to the given steps below.

STEPS:

1. Open your Command Prompt as Administrator.

2. On your Desktop create a New folder. Name your folder as youtube-live and put inside it your youtube-dl.exe file.

3. Inside your youtube-live folder click Address bar and copy the address that you will find there. See image below.


4. Back to the command prompt, type cd "paste the link that you copied at step No. 3 here" and press the Enter key. As you can see on the image below, the initial path was at system32, after the cd command + the path of your Youtube-dl folder at Desktop you have now accessed the exact path or location of your youtube-dl.exe.


5. Now, type:

youtube-dl -v --username "facebook.username" --password "facebookpassword" https://web.facebook.com/Sports5PH/videos/470224877147816/

and press the Enter key again. See image below.


6. After pressing the Enter key you will then see the image below.


7. After getting the results, right-click inside the command prompt and click Select All, then press Enter key to copy all the contents.


8. Paste all the contents inside Notepad++ or just Notepad. And look for the live streaming link which is in mpd format. See image below.


9. The link on step No. 8 are still in fragments, you need to connect these fragments to make a whole URL.


10. After connecting, you will then have a whole live streaming URL that you can copy.


11. For this step, I just recopied the working mpd link on a Notepad to be seen clearly by you.


12. You can then copy the link on step No. 11 in your MPD player to test it. See the sample live streaming below.


13. Done!

Note: After entering your Facebook credentials (username and password), there will be a notification there on your FB account, saying about an unusual login of your account. You can just confirm that, that was you and add the browser to your usual login usage.

If you have something to ask or share about this tutorial, please leave a comment below. Thank you.