Skip to content

Spiderjockey02/erela.js-facebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This a plugin for Erela.JS to allow the use of Facebook URL's, it uses direct URL's to play the audio from the video.

Documentation & Guides

It is recommended to read the documentation to start, and the guides to use the plugin.

Installation

NPM :

npm install erela.js-facebook

Yarn :

yarn add erela.js-facebook

Example Usage

const { Manager } = require("erela.js");
const Facebook = require("erela.js-facebook");

const manager = new Manager({
  plugins: [
    // Initiate the plugin
    new Facebook()
  ]
});

manager.search("https://www.facebook.com/peopleareawesome/videos/best-videos-of-the-week/1426881677361006");