Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 952 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 952 Bytes

Facebook Downloader

A Node.js module using the Facebook Graph API to quickly extract direct video URLs from Facebook links for easy downloading.

Installation

Use the package manager npm to install.

npm install another-fb-video-downloader

Usage

const { facebook } = require('another-fb-video-downloader');

// ? facebook(url, lq = true||false)
// ? url: string
// ? lq: boolean (true for low quality) (optional)

facebook('https://www.facebook.com/100008639590618/videos/266077793027023/' false)
    .then(videoUrl => console.log(videoUrl))
    .catch(error => console.error(error));

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Special thanks to

@monokaijs for the original code

License

MIT