Skip to content

Instantly share code, notes, and snippets.

@gvoze32
Last active October 26, 2025 04:14
Show Gist options
  • Save gvoze32/b7e8e65b45c9fa8c2db85ec1f6eec443 to your computer and use it in GitHub Desktop.
Save gvoze32/b7e8e65b45c9fa8c2db85ec1f6eec443 to your computer and use it in GitHub Desktop.
Download Facebook Private Comment Video using yt-dlp

Download Facebook Private Comment Video using yt-dlp

1. Open the main video/post in DevTools

Right-click on the Facebook video page and select Inspect, or press Ctrl+Shift+I (Cmd+Option+I on Mac) to open DevTools.

2. Enable the Device Toolbar

Click the 📱 mobile device icon in the top-left corner of DevTools to enable mobile emulation mode.

3. Refresh the page

After enabling mobile view, refresh the page. The interface should now switch to the Reels-style mobile layout, similar to what you see in the Facebook app.

4. Play and reopen the video

Open the comments, press the play button ▶️, then click the video again. The page will reload into a new view, and the URL will look something like this:

https://www.facebook.com/watch/?v=1234567890123456&ref=sharing

Remove any extra tracking parameters (like &ref=sharing, &surface_type=vod, etc.) so it becomes:

https://www.facebook.com/watch/?v=1234567890123456

5. Copy the cleaned link and run yt-dlp

Copy the cleaned link and run this command in your terminal:

yt-dlp --cookies-from-browser Chrome "https://m.facebook.com/watch/?v=1234567890123456"

Currently supported browsers: Brave, Chrome, Chromium, Edge, Firefox, Opera, Safari, Vivaldi, Whale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment