Socket
Socket
Sign inDemoInstall

fbvideos

Package Overview
Dependencies
21
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fbvideos

Easily extract downloadable link of publicly available videos on facebook.


Version published
Weekly downloads
59
increased by110.71%
Maintainers
1
Install size
197 kB
Created
Weekly downloads
 

Readme

Source




:link: 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

  • Returns a url for low resolution facebook video.

link

Type : string

  • Returns a url for high resolution facebook video.

link

Type : string

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

License

MIT © Rishi Giri

Keywords

FAQs

Last updated on 05 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc