Facebook Groups Scraper avatar

Facebook Groups Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Facebook Groups Scraper

Facebook Groups Scraper

๐Ÿ‘ฅ Facebook Groups Scraper (facebook-groups-scraper) pulls posts, comments, reactions, member info (where permitted) & keywords from public or authorized groupsโ€”fast and at scale. ๐Ÿ“Š Gain trend insights, audience profiles, and content ideas. ๐Ÿš€ Ideal for research, analytics & lead discovery.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

Scrapium

Scrapium

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Facebook Groups Scraper

The Facebook Groups Scraper is a production-ready Apify actor that extracts structured posts, comments, reactions, attachments, and group metadata from public Facebook groups โ€” fast and at scale. Built for marketers, developers, data analysts, and researchers, this Facebook group scraper solves the challenge of collecting clean, ready-to-use data with automatic discovery of internal parameters and robust pagination. Use it as a Facebook group data extractor for analytics, social listening, and Facebook group data mining at scale.

What is Facebook Groups Scraper?

Facebook Groups Scraper is a specialized data extraction tool that collects posts and engagement signals from public Facebook groups. It solves the complexity of navigating Facebookโ€™s dynamic structure by automatically discovering GraphQL parameters (doc_id, node_id, end_cursor), handling pagination, and streaming results directly to your Apify dataset. Ideal for researchers, analysts, and growth teams, it powers everything from trend analysis to content research and lead discovery. With automation-ready design and reliable proxy orchestration, it enables repeatable, large-scale workflows across multiple groups.

What data / output can you get?

Below are the core fields this Facebook group posts scraper exports to your Apify dataset. All fields come directly from the actorโ€™s output schema.

Data fieldDescriptionExample value
facebookUrlThe Facebook group URL that was scrapedhttps://www.facebook.com/groups/example-group
urlDirect permalink to the posthttps://www.facebook.com/groups/example-group/posts/1234567890
timeISO8601 timestamp when the post was created (UTC)2024-03-15T10:22:00.000Z
idUnique post identifier987654321098765
legacyIdLegacy post ID (post_id)123456789012345
feedbackIdFeedback identifier for the post1122334455667788
userAuthor object with id and name{"id": "10000123456789", "name": "Jane Doe"}
textPost body/contentLooking for recommendations on analytics toolsโ€ฆ
attachmentsArray of media/album objects with thumbnails, image URIs, dimensions, OCR text, owner[{"__typename":"Photo","image":{"uri":"https://...jpg%22,%22height%22:720,%22width%22:1280}, "thumbnail":"https://...jpg"}]
likesCountTotal number of likes42
commentsCountTotal number of comments7
facebookIdThe Facebook group ID123456789012345

Bonus data includes reaction breakdowns (like, love, top reactions), share counts, topComments (with commenter metadata and timestamps), groupTitle, pageAdLibrary metadata, and inputUrl. You can export your dataset to JSON or CSV directly from Apify.

Key features

  • ๐Ÿ” Automatic parameter discovery
    Finds node_id, doc_id, and end_cursor from group HTML/JS and related assets for resilient operation across updates.

  • ๐Ÿ” Smart pagination & streaming
    Uses cursor-based pagination to traverse group feeds and streams results to the Apify dataset in real time.

  • ๐Ÿ  Always-on residential proxy
    Enforces Apify Residential proxy with automatic rotation and retries until your data demand is fulfilled.

  • ๐Ÿ”„ Multiple sorting modes
    Choose from CHRONOLOGICAL, RECENT_ACTIVITY, TOP_POSTS, and CHRONOLOGICAL_LISTINGS to shape your feed view.

  • ๐ŸŽฏ Advanced filtering controls
    Filter by keyword (single-letter recommended), year, and time window (absolute or relative) to focus on relevant posts.

  • โšก Anti-blocking safeguards
    Randomized delays and automatic retries help reduce detection and maintain stability at scale.

  • ๐Ÿ“Š Rich, structured output
    Extracts post text, timestamps, author info, reactions, comments, shares, attachments (photos, albums, OCR), and group metadata.

  • ๐Ÿงฐ Fallback doc_id option
    Supply a fallback GraphQL doc_id if Facebookโ€™s frontend changes break automatic discovery.

  • ๐Ÿงช Developer-friendly & automation-ready
    Integrate via the Apify platform and APIs to build pipelines and automations for Facebook group scraping at scale.

  • ๐Ÿงฑ Production reliability
    Resilient error handling, residential proxy orchestration, and dataset-first design for dependable runs.

How to use Facebook Groups Scraper - step by step

  1. Create or sign in to your Apify account.
  2. Open the Facebook Groups Scraper actor in Apify Console.
  3. Paste one or more public group URLs into startUrls (string list format).
  4. Set resultsLimit to control how many posts you collect per run (default 20).
  5. (Optional) Choose a viewOption: CHRONOLOGICAL, RECENT_ACTIVITY, TOP_POSTS, or CHRONOLOGICAL_LISTINGS.
  6. (Optional) Use searchGroupKeyword (single letter recommended) and searchGroupYear together to refine results.
  7. (Optional) Set onlyPostsNewerThan using an absolute date (YYYY-MM-DD) or relative time (e.g., โ€œ30 daysโ€).
  8. (Optional) If automatic discovery fails, add fallbackDocId with a known working GraphQL doc_id.
  9. Click Start. The actor will always use a residential proxy, auto-retry as needed, and stream results into the dataset.
  10. Download your results from the dataset as JSON or CSV for analysis.

Pro Tip: Combine a short searchGroupKeyword (like โ€œaโ€) with searchGroupYear and onlyPostsNewerThan for precise discovery of recent content.

Use cases

Use caseDescription
Market research & trend trackingMonitor content themes and engagement across public groups to inform product and content strategy.
Social listening for campaignsAnalyze reactions and top comments to refine messaging, creatives, and timing.
Competitive intelligenceTrack competitor communitiesโ€™ discussion patterns and top-performing posts.
Academic & policy researchCollect structured posts and comments for sentiment analysis and longitudinal studies.
Content ideationDiscover high-engagement topics from public groups to fuel editorial calendars.
Analytics pipelinesFeed normalized post data into BI tools or data lakes via Apifyโ€™s dataset exports and APIs.
Automation & enrichmentUse dataset exports (CSV/JSON) to power automation in Make, n8n, or internal pipelines.

Why choose Facebook Groups Scraper?

This Facebook groups scraping tool is engineered for precision, automation, and reliability.

  • ๐ŸŽฏ Accuracy-first extraction of posts, reactions, comments, and attachments
  • ๐ŸŒ Works on public Facebook groups without login; ideal to scrape public Facebook groups safely
  • ๐Ÿ“ˆ Scales across multiple groups with enforced residential proxy and retry logic
  • ๐Ÿ’ป Developer-friendly via Apify platform and datasets for downstream integrations
  • ๐Ÿ”’ Safety-first: anti-blocking delays and resilient request handling
  • ๐Ÿ’ฐ Cost-effective operations with export-ready CSV/JSON datasets
  • ๐Ÿงฉ Better than brittle browser extensions: no manual sessions, stable output, and automation-friendly

In short, if you need a dependable Facebook group posts scraper for analytics and automation, this actor delivers.

Yes โ€” when used responsibly. This actor targets publicly available group content and does not access private or authenticated data. Follow these guidelines:

  • Scrape only data thatโ€™s publicly visible.
  • Respect platform terms and applicable data regulations (e.g., GDPR/CCPA).
  • Avoid collecting sensitive or private information.
  • Use results for lawful purposes and consult your legal team for edge cases.

This tool does not log in or access private groups and is designed for compliant use on public Facebook content.

Input parameters & output format

Example JSON input

{
"startUrls": [
"https://www.facebook.com/groups/germtheory.vs.terraintheory"
],
"resultsLimit": 100,
"viewOption": "RECENT_ACTIVITY",
"searchGroupKeyword": "a",
"searchGroupYear": "2024",
"onlyPostsNewerThan": "30 days",
"fallbackDocId": "",
"proxyConfiguration": {
"useApifyProxy": false
}
}

Input parameter reference

ParameterTypeRequiredDefaultDescription
startUrlsarrayYesโ€”Paste one or more public Facebook group URLs. Only public groups are supported.
resultsLimitintegerNo20Maximum number of posts to scrape from each group. Minimum 1. Leave empty to scrape all available posts.
viewOptionstringNoCHRONOLOGICALSorting strategy for posts. Options: CHRONOLOGICAL, RECENT_ACTIVITY, TOP_POSTS, CHRONOLOGICAL_LISTINGS. Note: Post limit applies to โ€˜New postsโ€™ sorting only.
searchGroupKeywordstringNo""Search posts by keyword or letter. Without login, search is limited; 1โ€“2 letters work best.
searchGroupYearstringNo""Filter posts by a specific year (e.g., โ€œ2024โ€). Use together with searchGroupKeyword.
onlyPostsNewerThanstringNo""Stop when posts are older than this date/time. Formats: absolute (YYYY-MM-DD) or relative (e.g., โ€œ2 weeksโ€, โ€œ7 daysโ€, โ€œ1 monthโ€).
fallbackDocIdstringNo""Use when automatic discovery fails (e.g., after a Facebook frontend update). Set a known working GraphQL doc_id.
proxyConfigurationobjectNo{"useApifyProxy": false}Configure proxy settings. The actor will always use Apify Residential proxy internally with retries.

Example JSON output (dataset item)

{
"facebookUrl": "https://www.facebook.com/groups/germtheory.vs.terraintheory",
"url": "https://www.facebook.com/groups/germtheory.vs.terraintheory/posts/123456789012345/",
"time": "2024-03-15T10:22:00.000Z",
"user": {
"id": "10000123456789",
"name": "Jane Doe"
},
"text": "Looking for recommendations on analytics tools for community insights.",
"topReactionsCount": 18,
"feedbackId": "1122334455667788",
"reactionLikeCount": 12,
"reactionLoveCount": 6,
"id": "987654321098765",
"legacyId": "123456789012345",
"attachments": [
{
"thumbnail": "https://example-cdn.com/thumb.jpg",
"__typename": "Photo",
"is_playable": false,
"image": {
"uri": "https://example-cdn.com/photo.jpg",
"height": 720,
"width": 1280
},
"id": "4444555566667777",
"__isMedia": "Photo",
"photo_cix_screen": null,
"copyright_banner_info": null,
"owner": {
"__typename": "User",
"id": "10000999999999"
},
"ocrText": "Sample overlay text on image"
}
],
"likesCount": 42,
"sharesCount": 3,
"commentsCount": 7,
"topComments": [
{
"commentUrl": "https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/123456789012345/?comment_id=999888777666",
"id": "999888777666",
"feedbackId": "555666777888",
"date": "2024-03-15T11:05:00.000Z",
"text": "We use a mix of dashboards and manual tagging.",
"profileUrl": "https://www.facebook.com/profile.php?id=10000222223333",
"profilePicture": "https://example-cdn.com/avatar.jpg",
"profileId": "10000222223333",
"profileName": "John Smith",
"likesCount": "3",
"threadingDepth": 0
}
],
"facebookId": "123456789012345",
"groupTitle": "Germ Theory vs. Terrain Theory",
"pageAdLibrary": {
"is_business_page_active": false,
"id": "123456789012345"
},
"inputUrl": "https://www.facebook.com/groups/germtheory.vs.terraintheory"
}

Notes:

  • Results stream to the Apify dataset in real time during the run.
  • Export your dataset in JSON or CSV from the Apify Console.

FAQ

Does this scrape Facebook group members or provide a members list?

No. The actor focuses on posts and related engagement data (reactions, comments, attachments, and group metadata) from public groups. It does not scrape a Facebook group members list or export Facebook group members to CSV.

Do I need to log in or provide cookies?

No. This Facebook group scraper targets public groups and works without login. Be aware that Facebookโ€™s search capabilities are limited without authentication, so searchGroupKeyword works best with 1โ€“2 letters and, optionally, a year filter.

Can I sort posts by recent activity or top posts?

Yes. Use viewOption to select CHRONOLOGICAL, RECENT_ACTIVITY, TOP_POSTS, or CHRONOLOGICAL_LISTINGS. The actor maps your choice to Facebookโ€™s internal sorting settings.

How do I limit the number of posts?

Set resultsLimit to the maximum number of posts you want per run. The actor will stop when this limit is reached.

How can I filter by date or recency?

Use onlyPostsNewerThan with an absolute date (YYYY-MM-DD) or a relative phrase like โ€œ30 days,โ€ โ€œ2 weeks,โ€ or โ€œ1 month.โ€ The actor applies client-side filtering to include posts newer than your threshold.

What proxies are used? Can I configure them?

The actor always uses Apify Residential proxy for all requests and includes automatic retries until your data demand is fulfilled. You can include proxyConfiguration in input, but residential proxies are enforced internally for reliability.

What formats can I export to?

Your results are stored in an Apify dataset. You can export to JSON or CSV from the datasetโ€™s Export tab.

Is there a free trial or test period?

Yes. The Apify Store listing includes trial minutes for testing (subject to platform limits). Refer to the actorโ€™s Apify page for current details.

What if automatic discovery fails with โ€œMissing doc_idโ€?

Set fallbackDocId to a known working GraphQL doc_id. This helps recover from Facebook frontend changes that temporarily break automatic discovery.

Can I integrate this with my data pipeline or API?

Yes. As an Apify actor, it plugs into Apify datasets and APIs for automation. Use it as a Facebook group scraper API component within workflows powered by Make, n8n, or your own scripts.

Closing thoughts

Facebook Groups Scraper is built for structured, reliable extraction of public Facebook group posts and engagement data. With automatic parameter discovery, enforced residential proxying, flexible sorting and filtering, and export-ready datasets, itโ€™s ideal for marketers, analysts, researchers, and developers. Build repeatable workflows via the Apify platform and API, and start extracting smarter insights from public Facebook groups today.

Support and custom solutions: dev.scraperengine@gmail.com