npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

fbg-videos

1.0.0 • Public • Published

fbg-videos

Build Status XO code style

Get last videos of Facebook Group

Install

npm install --save fbg-videos

Usage

const {getVideos, getVideoById} = require('fbg-videos')
 
// Facebook Group ID
const group = '613603098840735'
// Cookie of User
const cookie = {c_user: '', xs: ''}
 
getVideos(group, {cookie})
  .then(async videos => {
    const {id} = videos[0]
    
    const {files} = await getVideoById(id, {cookie})
    console.log(files)
  })

License

MIT © Jesus Lobos

install

npm i fbg-videos

Downloadsweekly downloads

4

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability