Socket
Socket
Sign inDemoInstall

facebook-video-link

Package Overview
Dependencies
4
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    facebook-video-link

Unofficial API to Get Facebook Videos Information (Title, Caption, & Link)


Version published
Weekly downloads
48
increased by71.43%
Maintainers
1
Install size
424 kB
Created
Weekly downloads
 

Readme

Source

Unofficial API to Get Facebook Videos Information (Title, Caption, & Link)

Install

npm install facebook-video-link

Example

const facebookGetLink = require('facebook-video-link');

const url = 'https://www.facebook.com/EpochTimesTrending/videos/310155606660409'

facebookGetLink(url).then(response => {
  console.log(response)
})

// or use await
console.log(await facebookGetLink(url))

Results

{
  title: 'Trending World by The Epoch Times - Protective Dogs | Facebook',
  caption: 'These dogs have such a strong instinct to protect their loved ones 😇\n' +
    '\n' +
    'Credit: Jukin Media Newsflare \n' +
    'Music: Epidemic Sound',
  link: 'https://video-sin6-1.xx.fbcdn.net/v/t39.24130-2/10000000_761557671253308_7927674516551416817_n.mp4?_nc_cat=111&_nc_sid=985c63&efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ohc=4OsMrwWucZMAX95UR7I&_nc_ht=video-sin6-1.xx&oh=dfd5033204e3742be899d6ac7eaf5d69&oe=5F5D4FA3'
}

Keywords

FAQs

Last updated on 16 Aug 2020

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