Facebook Groups Scraper
Pricing
$19.99/month + usage
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
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
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 field | Description | Example value |
|---|---|---|
| facebookUrl | The Facebook group URL that was scraped | https://www.facebook.com/groups/example-group |
| url | Direct permalink to the post | https://www.facebook.com/groups/example-group/posts/1234567890 |
| time | ISO8601 timestamp when the post was created (UTC) | 2024-03-15T10:22:00.000Z |
| id | Unique post identifier | 987654321098765 |
| legacyId | Legacy post ID (post_id) | 123456789012345 |
| feedbackId | Feedback identifier for the post | 1122334455667788 |
| user | Author object with id and name | {"id": "10000123456789", "name": "Jane Doe"} |
| text | Post body/content | Looking for recommendations on analytics toolsโฆ |
| attachments | Array 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"}] |
| likesCount | Total number of likes | 42 |
| commentsCount | Total number of comments | 7 |
| facebookId | The Facebook group ID | 123456789012345 |
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
- Create or sign in to your Apify account.
- Open the Facebook Groups Scraper actor in Apify Console.
- Paste one or more public group URLs into startUrls (string list format).
- Set resultsLimit to control how many posts you collect per run (default 20).
- (Optional) Choose a viewOption: CHRONOLOGICAL, RECENT_ACTIVITY, TOP_POSTS, or CHRONOLOGICAL_LISTINGS.
- (Optional) Use searchGroupKeyword (single letter recommended) and searchGroupYear together to refine results.
- (Optional) Set onlyPostsNewerThan using an absolute date (YYYY-MM-DD) or relative time (e.g., โ30 daysโ).
- (Optional) If automatic discovery fails, add fallbackDocId with a known working GraphQL doc_id.
- Click Start. The actor will always use a residential proxy, auto-retry as needed, and stream results into the dataset.
- 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 case | Description |
|---|---|
| Market research & trend tracking | Monitor content themes and engagement across public groups to inform product and content strategy. |
| Social listening for campaigns | Analyze reactions and top comments to refine messaging, creatives, and timing. |
| Competitive intelligence | Track competitor communitiesโ discussion patterns and top-performing posts. |
| Academic & policy research | Collect structured posts and comments for sentiment analysis and longitudinal studies. |
| Content ideation | Discover high-engagement topics from public groups to fuel editorial calendars. |
| Analytics pipelines | Feed normalized post data into BI tools or data lakes via Apifyโs dataset exports and APIs. |
| Automation & enrichment | Use 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.
Is it legal / ethical to use Facebook Groups Scraper?
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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| startUrls | array | Yes | โ | Paste one or more public Facebook group URLs. Only public groups are supported. |
| resultsLimit | integer | No | 20 | Maximum number of posts to scrape from each group. Minimum 1. Leave empty to scrape all available posts. |
| viewOption | string | No | CHRONOLOGICAL | Sorting strategy for posts. Options: CHRONOLOGICAL, RECENT_ACTIVITY, TOP_POSTS, CHRONOLOGICAL_LISTINGS. Note: Post limit applies to โNew postsโ sorting only. |
| searchGroupKeyword | string | No | "" | Search posts by keyword or letter. Without login, search is limited; 1โ2 letters work best. |
| searchGroupYear | string | No | "" | Filter posts by a specific year (e.g., โ2024โ). Use together with searchGroupKeyword. |
| onlyPostsNewerThan | string | No | "" | Stop when posts are older than this date/time. Formats: absolute (YYYY-MM-DD) or relative (e.g., โ2 weeksโ, โ7 daysโ, โ1 monthโ). |
| fallbackDocId | string | No | "" | Use when automatic discovery fails (e.g., after a Facebook frontend update). Set a known working GraphQL doc_id. |
| proxyConfiguration | object | No | {"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