Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/darkmakerofc/fbdl

This Package is Facebook video link's Direct Link Fetcher, Created by Mr Nima - using javascript.
https://github.com/darkmakerofc/fbdl

downloader facebook fbapi mrnima scraper

Last synced: 5 days ago
JSON representation

This Package is Facebook video link's Direct Link Fetcher, Created by Mr Nima - using javascript.

Awesome Lists containing this project

README

        




FACEBOOK DOWNLOADER


A Simple Facebook Video Downloader


#### ⬇️ Install
```
npm install @mrnima/facebook-downloader
```
or
```
yarn add @mrnima/facebook-downloader
```

#### 📖 Example
```
const { facebook } = require('@mrnima/facebook-downloader');

async function TEST_FB_DL() {
const fbUrl = "https://www.facebook.com/shaabromusic/videos/981397083531887";
const result = await facebook(fbUrl);
console.log(result);
}

TEST_FB_DL();

```

#### ✅ Result
```
{
creator: 'MR NIMA',
status: true,
result: {
thumbnail: 'https://scontent-mrs2-1.xx.fbcdn.net/v/t15.5256-10/436317288_467854115732976_1926718699448321760_n.jpg?stp=dst-jpg_s640x640&_nc_cat=105&ccb=1-7&_nc_sid=5f2048&_nc_ohc=ifggXW-FHaYQ7kNvgFjjX5O&_nc_ht=scontent-mrs2-1.xx&edm=AGo2L-IEAAAA&oh=00_AYAvkeY7TUUnFqo_EF4O5XcRTjpyGRu5W5Jklh-rpUxv7A&oe=666C5F31',
duration: '0:46',
links: {
HD: 'https://video-mrs2-2.xx.fbcdn.net/o1/v/t2/f2/m69/An9TF19CTL9-8RiM7mRe-xBS9LT3BiSOH9s4s9nSGFsWBvelBUf-jDLKJGbOCDOQAb3h1koxJRCor17lE5Rf_vH1.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ht=video-mrs2-2.xx.fbcdn.net&_nc_cat=102&strext=1&vs=30d1d82caa02a3aa&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HQzB5cnhvVWpjSFRaSTBCQUVURGdVMzJaN0JXYm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JhdGlvbl9zCTQ2LjE2MTM2MQJ0cxVwcm9ncmVzc2l2ZV9lbmNvZGluZ3MA&ccb=9-4&oh=00_AYDbMbSJaeiqZEz_1oN5k7ijPm2KqbiNU_wBK-DwJXPBdw&oe=66686DF4&_nc_sid=1d576d&_nc_rid=681704398099753&_nc_store_type=1&dl=1',
SD: 'https://video-mrs2-1.xx.fbcdn.net/v/t42.1790-2/447898760_1691534961607389_3207386040058615770_n.mp4?_nc_cat=109&ccb=1-7&_nc_sid=55d0d3&efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9zZCIsInZpZGVvX2lkIjo5ODEzOTcwODM1MzE4ODd9&_nc_ohc=dIWROvYIYkwQ7kNvgF_8srw&_nc_ht=video-mrs2-1.xx&edm=AGo2L-IEAAAA&oh=00_AYAz3Slqyt7dxpqJ57dEsJrm6bgdy8VXa8xV1fo3c4cxxQ&oe=666C5D38&dl=1'
}
}
}
```


#### 👨‍💻 Author : [Mr Nima](https://github.com/Darkmakerofc)