Facebook Group Scraper - Posts, Comments & Reactions avatar

Facebook Group Scraper - Posts, Comments & Reactions

Pricing

from $5.00 / 1,000 post scrapeds

Go to Apify Store
Facebook Group Scraper - Posts, Comments & Reactions

Facebook Group Scraper - Posts, Comments & Reactions

Scrape posts from public & private Facebook groups. Extract post text, author info, reactions, comments, shares, images, videos, and group metadata. Cookie auth for private groups. Clean JSON/CSV output. No API key needed.

Pricing

from $5.00 / 1,000 post scrapeds

Rating

0.0

(0)

Developer

Anas Nadeem

Anas Nadeem

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

3 days ago

Last modified

Share

Facebook Group Scraper - Posts, Comments & Members

Scrape posts, comments, reactions, and group metadata from public and private Facebook groups. Supports cookie-based authentication for private group access.

What does this scraper do?

This scraper extracts data from Facebook Groups including:

  • Posts — text content, timestamps, author info, media attachments
  • Reactions — like, love, haha, wow, sad, angry counts
  • Comments — top comments with author info
  • Group metadata — name, member count, description, privacy, admins
  • Media — images and video URLs from posts

Supports both public and private groups (with cookie authentication).

Features

  • Scrape posts from any Facebook group URL
  • Full reaction breakdown (not just total count)
  • Top comments extraction per post
  • Group metadata (name, members, description, privacy)
  • Cookie-based auth for private groups you're a member of
  • Date filtering — only scrape posts newer than a specific date
  • Sort by Recent Activity, Top Posts, or Chronological
  • Streaming output — partial results saved even if scraper times out
  • Memory-efficient scroll loop with cleanup (handles groups with 10K+ posts)
  • Residential proxy support (Apify + external)

How much does it cost?

VolumePrice
Per post scraped~$0.003
1,000 posts~$3.00
10,000 posts~$30.00

Platform compute costs are separate.

Input

Public group (may require cookies)

{
"startUrls": [{"url": "https://www.facebook.com/groups/1280379818654162"}],
"maxPosts": 100,
"includeComments": true,
"includeGroupInfo": true
}

Private group (requires cookies)

{
"startUrls": [{"url": "https://www.facebook.com/groups/YOUR_PRIVATE_GROUP"}],
"maxPosts": 50,
"cookies": [
{"name": "c_user", "value": "YOUR_C_USER_VALUE"},
{"name": "xs", "value": "YOUR_XS_VALUE"}
]
}

How to get cookies

  1. Open Facebook in your browser and log in
  2. Press F12 to open Developer Tools
  3. Go to Application tab (Chrome) or Storage tab (Firefox)
  4. Click Cookies > facebook.com
  5. Find and copy the values of c_user and xs
  6. Paste them into the cookies input field

Output

{
"postId": "1234567890",
"postUrl": "https://www.facebook.com/groups/123456/permalink/1234567890/",
"groupName": "Web Scraping & Automation",
"groupUrl": "https://www.facebook.com/groups/123456",
"authorName": "John Doe",
"authorProfileUrl": "https://www.facebook.com/johndoe",
"text": "Has anyone tried using Playwright for Facebook scraping?",
"postType": "text",
"timestamp": "2026-03-28T14:30:00.000Z",
"formattedDate": "2h",
"totalReactions": 42,
"commentsCount": 15,
"sharesCount": 3,
"images": [],
"videos": [],
"topComments": [
{
"authorName": "Jane Smith",
"text": "Yes! Works great with stealth plugin."
}
],
"source": "facebook_group",
"scrapeDate": "2026-03-28T16:00:00.000Z"
}

Tips

  1. Cookies are usually required — Facebook gates most group content behind login, even for public groups. Always provide cookies for reliable results.
  2. Use residential proxies — Facebook blocks datacenter IPs aggressively. Apify Residential proxy recommended.
  3. Start small — Test with maxPosts: 10 first, then scale up.
  4. Cookie expiry — Facebook cookies last ~365 days but can be invalidated by security events. Re-export if scraping stops working.
  5. Rate limiting — The scraper uses human-like delays. Don't increase concurrency above 2.

Why use this over competitors?

FeatureApify Official (24K users)Ours
PostsYesYes
Group metadataNoYes
Reaction breakdownPartial (like + love only)Full (6 types)
Comments with author infoTop comments only, no namesTop comments with names
Cookie auth for private groupsNoYes
Post type detectionNoYes (text/photo/video/link)
Images/videosNoYes
Memory-efficient scrollingBasicAdvanced (cleanup every 20 iterations)
Streaming (crash recovery)NoYes
Price per 1K posts~$5.00~$3.00

Other scrapers you might like

This scraper accesses publicly available data from Facebook. For private groups, users must be authorized members and provide their own authentication cookies. Users are responsible for ensuring their use complies with all applicable laws, Facebook's Terms of Service, and data protection regulations (GDPR, etc.).