Facebook group posts scraper

Usage no npm install needed!

<script type="module">
  import facebookGroupPostsScraper from 'https://cdn.skypack.dev/facebook-group-posts-scraper';


Facebook Group Posts Scraper

Gitter"> Gitmoji All Contributors


Facebook Group Posts Scraper is a package which is used for scraping facebook group posts by their group ids.

Getting Started - Installation

npm i facebook-group-posts-scraper -g --unsafe-perm
fgps init


To scrape posts from group accessible by URL facebook.com/groups/some_group/:

fgps --group-ids some_group --output /some/output/dir

For many groups at once:

fgps --group-ids some_group1,some_group2,some_group3 --output /some/output/dir

Command-line options

  • fgps -h/--help - Shows the help page.
  • fgps -v/--version - Shows the CLI version.
  • fgps --output - Specify the output folder destination.
  • fgps --headful - Disable headless mode.
  • fgps init - Initialize user configuration.
  • fgps --group-ids - Indicates which groups ids that we want to scrape (seperated by commas).

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Kaan Yagci

💻 💬 🚇 📦

Idil Saglam


Grzegorz Adam Kowalski

💻 🐛 📖



This project follows the all-contributors specification. Contributions of any kind welcome!