An open API service indexing awesome lists of open source software.

https://github.com/spiderjockey02/erela.js-facebook

Facebook plugin for Erela.JS
https://github.com/spiderjockey02/erela.js-facebook

erela-facebook erelajs facebook plugin

Last synced: 4 months ago
JSON representation

Facebook plugin for Erela.JS

Awesome Lists containing this project

README

        



Downloads


Npm version



Github stars


License




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.

- https://www.facebook.com/peopleareawesome/videos/best-videos-of-the-week/1426881677361006/
- https://fb.watch/4NmOK_doX-/

## Documentation & Guides

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

- [Documentation](https://solaris.codes/projects/erelajs/docs/gettingstarted.html#getting-started 'Erela.js Documentation')

- [Guides](https://guides.menudocs.org/topics/erelajs/)

## Installation

**NPM** :
```sh
npm install erela.js-facebook
```

**Yarn** :
```sh
yarn add erela.js-facebook
```

## Example Usage

```javascript
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");
```