Skip to content

🔗 Easily extract downloadable link of publicly available videos on facebook.

License

Notifications You must be signed in to change notification settings

CodeDotJS/fbvideos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation




🔗 Easily extract downloadable link of publicly available videos on facebook.

Install

$ npm install --save fbvideos

Usage

const fbvid = require('fbvideos');

const video = 'https://www.facebook.com/9gag/videos/10155721204506840/';

fbvid.low(video).then(vid => {
  console.log(vid)
  // => { url: 'https://video.fpat1-1.fna.fbcdn.net/...mp4?934&oe=5972F363' }

});

fbvid.high(video).then(vid => {
  console.log(vid);
  // => { url: 'https://video.fpat1-1.fna.fbcdn.net/...mp4?934&OE=2kf2lf4g' }
});

API

fbvid.low(link)

  • Returns a url for low resolution facebook video.

link

Type : string

fbvid.high(link)

  • Returns a url for high resolution facebook video.

link

Type : string

Related

  • facebookid : An api to find user id of any facebook user
  • acuter : A simple wrapper for twitter media

License

MIT © Rishi Giri

About

🔗 Easily extract downloadable link of publicly available videos on facebook.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published