facebook-groups-scrape-posts

Extracts structured post metadata from Facebook groups via GraphQL pagination.

5.5k|269|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/browser-act/skills --skill facebook-groups-scrape-posts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: facebook-groups-scrape-posts
Source: https://github.com/browser-act/skills/tree/main/solutions/social-listening/facebook-groups-scrape-posts
Command: npx skills add https://github.com/browser-act/skills --skill facebook-groups-scrape-posts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually collecting posts from Facebook groups for monitoring or research is slow and error-prone. This Skill automates bulk extraction of group posts with full metadata, turning hours of scrolling and copy-pasting into a single structured JSON export.

Core Features & Use Cases

  • Automated Post Scraping: Scrapes N posts from any public Facebook group with auto-pagination, sorted by top posts, newest, or recent activity.
  • Rich Metadata Extraction: Returns post_id, permalink, author, timestamp, body text, images/videos, reaction counts with type breakdown, comment count, and share count.
  • Login State Reuse: Works with an authenticated browser session via browser-act, persisting cookies so one manual login is reusable.
  • Use Case: A community manager monitors competitor or niche Facebook groups by exporting the latest 50 posts weekly into JSON for sentiment and engagement analysis.

Quick Start

Scrape the latest 20 posts from the Facebook group at this URL and return them as structured JSON.

Frequently Asked Questions about facebook-groups-scrape-posts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape posts from a Facebook group?

Navigate to the group page in a logged-in browser session, then run the scrape script with a sort order and desired count. It auto-paginates the group feed via Facebook's GraphQL API and returns structured JSON with post metadata.

What data can I extract from Facebook group posts?

Each post includes post_id, permalink URL, author name and profile URL, creation timestamp, message text, photo and video media URLs, total reactions with per-type breakdown, comment count, and share count.

Do I need to be logged into Facebook to scrape group posts?

Yes, login is a hard prerequisite. Facebook blocks unauthenticated group feed pagination with login modals and partial data errors, so the script verifies the c_user cookie before execution.

Can this scrape private Facebook groups or post comments?

No. It only works for public groups or groups you are a member of, and it returns comment counts but not comment bodies, since Facebook loads comment content through a separate query.

Why does Facebook group scraping return errors or empty results?

Errors usually come from an expired session cookie, a rotated GraphQL doc_id, or rate limiting from rapid requests. Re-verify login, update the doc_id from live network requests, and add 2-5 second delays between calls.