fb-group-image-extractor
v1.1.1
Published
Takes a fb group url as a param and returns the recently posted images
Downloads
3
Readme
fb-group-image-extractor
Extract the recently posted images from a facebook group
Installation
Install my-project with npm
npm i fb-group-image-extractor
Example
const { getImagesFromGroup } = require('fb-group-image-extractor');
const groupUrl = 'https://www.facebook.com/groups/1246116909252645';
const count = 10;
getImagesFromGroup(groupUrl, count)
.then((imageUrls) => {
console.log('Image URLs:', imageUrls);
// Add further assertions or processing as needed
})
.catch((error) => {
console.error('Error:', error);
});