# Facebook Group Post Scraper (`scraper-engine/facebook-group-post-scraper`) Actor

Scrape Facebook group posts easily with Facebook Group Post Scraper! Extract post text, author info, reactions, comments, and timestamps from any group. Perfect for data collection, market research, community analysis, and engagement tracking across Facebook groups.

- **URL**: https://apify.com/scraper-engine/facebook-group-post-scraper.md
- **Developed by:** [Scraper Engine](https://apify.com/scraper-engine) (community)
- **Categories:** Social media, Lead generation, Automation
- **Stats:** 285 total users, 14 monthly users, 100.0% runs succeeded, 8 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$24.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### 💡 What is Facebook Group Post Scraper?

The Facebook Group Post Scraper is a powerful facebook group post scraper tool and scalable facebook scraper designed to scrape facebook group posts, comments, reactions, and engagement data from public or private groups 🔍

This advanced facebook group scraper works as a structured facebook group data scraper and facebook group content scraper, allowing you to download facebook group posts, extract insights, and export datasets in JSON, CSV, or Excel without manual copying.

Whether you’re conducting market research, competitor monitoring, community analysis, or content tracking, this facebook group scraping tool helps you scrape facebook group posts in bulk using a reliable bulk facebook group post scraper and enterprise-ready facebook group automation scraper engine.

This tool can be accessed via:

🧠 Apify’s facebook group scraper platform

⚙️ Open-source facebook group post scraper github repositories

🐍 Developer scripts such as scrape facebook group posts python

Unlike unstable bots, this cloud-based facebook scraping tool for groups ensures secure, large-scale extraction with structured output ready for analytics.

✅ Ideal for researchers, social media managers, growth teams, and marketers who need accurate, automated access to Facebook group post data quickly and safely.

### 🛠️ Support and Feedback

- 🐞 **Bug reports:** Open a ticket in the repository **Issues** section  
- ✨ **Custom solutions or feature requests:** Contact our team 📧 **Email:** dev.scraperengine@gmail.com


### 📊 What Data Can You Extract with Facebook Group Post Scraper?

Using the Facebook Group Post Scraper, a powerful facebook group post scraper tool and scalable facebook scraper, you can scrape facebook group posts, comments, and engagement metrics with structured precision.

This advanced facebook group data scraper and facebook group content scraper allows you to scrape facebook group posts in bulk using a reliable bulk facebook group post scraper and enterprise-ready facebook group automation scraper engine.


| 📦 Data Type | 🧾 Description |
| --- | --- |
| 🆔 Post ID | Unique identifier for each post |
| 💬 Post Message | Full text content of the group post |
| 🧑‍💻 Author Info | Name, profile link, and ID of the post author |
| ❤️ Reactions Count | Total likes, loves, wows, and more |
| 💭 Comments Count | Total number of comments |
| 🔁 Shares Count | Total number of shares |
| 📸 Attachments | Image, video, or link URLs |
| 🕒 Post Time | Timestamp of when the post was published |
| 📍 Group Name / URL | The Facebook group’s source and link |
| 🔗 Direct Post URL | Clickable link to view the original post |

This structured facebook group scraping tool works as a reliable Facebook post details finder, allowing you to download facebook group posts, export them in CSV, JSON, or Excel, and integrate datasets into analytics dashboards for keyword tracking, sentiment analysis, competitor monitoring, and trend research.

* * *

#### ⚙️ Key Features of Facebook Group Post Scraper

Here’s why users prefer the Facebook Group Post Scraper, a powerful facebook group post scraper tool and scalable facebook scraper built for structured automation 👇

This enterprise-ready facebook group scraping tool allows you to scrape facebook group posts and even scrape facebook group posts in bulk using a reliable bulk facebook group post scraper engine.

* * *

*   🧠 Scrape Any Group Type: This flexible facebook group scraper works with both public and private groups, giving you full coverage across communities.
*   🕵️ Facebook Private Group Post Scraper: The advanced facebook group post extractor supports secure login via cookies or token authentication for compliant private data access.
*   📅 Custom Filters & Automation: Use keyword, date, or engagement filters inside this facebook group automation scraper to refine large datasets.
*   📊 Comprehensive Data Extraction: This structured facebook group data scraper captures posts, top comments, reactions, shares, and attachments using a powerful facebook group post crawler system.
*   🧩 Apify Cloud Integration: Seamlessly connect with Apify’s facebook group scraper infrastructure for scalable cloud-based scraping.
*   🐍 Python-Ready Support: Developers can scrape facebook group posts python using SDK integrations or API-based workflows within this advanced facebook scraping tool for groups.
*   🌐 Free & Open-Source Options: Access community versions such as facebook group post scraper github repositories or browser-based extensions for lightweight use cases.
*   💾 Structured Export Formats: After you scrape facebook group posts, easily export data in CSV, JSON, or XLSX for reporting and analytics.
*   🧱 Proxy & Stealth Mode: Built-in anti-detection mechanisms ensure stable scraping when running high-volume jobs through the bulk facebook group post scraper engine.

* * *

🚀 From engagement trend analysis to competitor monitoring and brand tracking, this facebook scraper delivers scalable, automated Facebook group intelligence without manual effort.


### 🧭 How to Use Facebook Group Post Scraper

Follow this step-by-step guide to start using the Facebook Group Post Scraper, a powerful facebook group post scraper tool and scalable facebook scraper, to scrape facebook group posts efficiently 👇

* * *

#### 1️⃣ Log in to Apify

Create a free account and access the cloud-based facebook group scraping tool dashboard.

#### 2️⃣ Select the Actor

Search for Apify Facebook Group Scraper, a reliable facebook group scraper built for structured extraction.

#### 3️⃣ Enter Group URLs

Paste one or multiple Facebook group URLs to scrape facebook group posts in bulk using the high-performance bulk facebook group post scraper engine.

#### 4️⃣ Configure Parameters

Set post limits, date ranges, keyword filters, and sorting preferences inside this advanced facebook group automation scraper.

#### 5️⃣ Add Login Cookies (Optional)

To use the facebook private group post scraper functionality, securely add authentication cookies or tokens for private group access.

#### 6️⃣ Run the Actor

Click Start and let the automated facebook group post extractor and facebook group post crawler collect structured data.

#### 7️⃣ Download Data

After you scrape facebook group posts, export the results as CSV, JSON, or Excel, or connect via API endpoints for integration with analytics systems.

* * *

💡 You can integrate this facebook scraping tool for groups with Make, Zapier, or Airbyte to automate recurring scraping workflows and real-time data pipelines.

### 🎯 Real-World Use Cases

The Facebook Group Post Scraper is a powerful facebook group post scraper tool and scalable facebook scraper built to scrape facebook group posts and extract structured engagement data across communities.

Using this advanced facebook group scraping tool, teams can scrape facebook group posts in bulk with a reliable bulk facebook group post scraper and automate workflows through a robust facebook group automation scraper engine.

  

*   Market Research: Use the facebook group data scraper to analyze discussions, identify emerging trends, and uncover audience pain points at scale.
*   Community Insights: Track engagement levels, reactions, and comments using a structured facebook group post extractor for niche performance analysis.
*   Competitor Monitoring: Leverage the facebook group scraper to monitor competitor discussions and brand mentions across multiple groups.
*   Academic Research: Researchers can scrape facebook group posts in bulk for behavioral studies and structured social data analysis.
*   Content Strategy: Identify high-performing topics, recurring questions, and viral discussions with the facebook group content scraper.
*   Lead Generation: Find active users engaging with relevant discussions using the automated facebook group post crawler system.
*   Moderation Analytics: Detect patterns in approval workflows and post removals with insights gathered from this scalable facebook scraping tool for groups.

* * *

💬 Marketers, analysts, and researchers rely on this enterprise-ready facebook scraper to analyze engagement metrics, automate reporting, and transform raw Facebook group data into actionable intelligence.


### 💪 Why Choose Our Facebook Group Post Scraper?

Our Facebook Group Post Scraper is a powerful facebook group post scraper tool and enterprise-ready facebook scraper built to scrape facebook group posts efficiently and securely.

Unlike unstable tools, this advanced facebook group scraping tool supports structured automation, including scrape facebook group posts in bulk using a high-performance bulk facebook group post scraper engine.

*   Ease of Use: No coding required. Launch the facebook group scraper in just a few clicks.
*   Free Version: Test the Facebook Group Post Scraper free tier with sample runs before scaling.
*   Python API Support: Developers can scrape facebook group posts python using SDK integrations within this flexible facebook group automation scraper.
*   Facebook Group Post Extension: Lightweight browser-based automation powered by the same core facebook group post extractor logic.
*   Privacy-Compliant: This secure facebook group data scraper extracts only public or authorized group data.
*   Cross-Platform Compatibility: Run the facebook scraping tool for groups on cloud infrastructure, desktop environments, or via facebook group post scraper github repositories.
*   Scalable Performance: Use the advanced bulk facebook group post scraper to scrape thousands of posts across multiple groups in a single run.

* * *

💡 Need custom workflows? Integrate this scalable facebook scraper with tools like a Facebook Group Post Approve Checker to automate moderation and admin processes.
* * *

### 📈 How Many Posts Can You Scrape?

The scraper is highly scalable and efficient 💪

*   🆓 Free Plan – Up to 500 posts per run.  
      
    
*   ⚙️ Starter Plan – Up to 10,000 posts monthly.  
      
    
*   🚀 Pro / API Integration – Unlimited posts with Apify Facebook Group Scraper or custom Python scripts.  
      
    

You can also:

*   Schedule automatic scrapes daily or weekly.  
      
    
*   Export results to Google Sheets, Power BI, or Data Studio.  
      
    
*   Track deleted or removed posts (for research on “how do I retrieve deleted posts from a Facebook group”).  
      
    

* * *

### ⚖️ Is It Legal to Scrape Facebook Group Posts?

✅ Yes, if done responsibly.  
The Facebook Group Post Scraper only collects publicly available or authorized group data and complies with:

*   Facebook’s data access policies  
      
    
*   GDPR and privacy regulations  
      
    
*   Ethical research guidelines  
      
    

⚠️ Important: Avoid scraping private user info or content without consent. If you’re unsure, review Facebook’s API documentation or contact a data compliance expert.

* * *

### ⚙️ Input Parameters

#### 🧾 JSON Example
```json
{
    "groupUrl": "https://www.facebook.com/groups/germtheory.vs.terraintheory",
    "proxy": {
        "useApifyProxy": true
    }
}
````

| 🔑 Parameter | 🧠 Description |
| --- | --- |
| groupUrls | List of Facebook group URLs |
| maxResults | Max posts to collect per group |
| sortingSetting | “RECENT\_ACTIVITY”, “CHRONOLOGICAL”, or “TOP\_POSTS” |
| proxyConfiguration | Optional proxy settings for reliability |

***

### 📤 Output Format

#### 🧾 JSON Example

```json
  {
    "createdAt": 1768152122,
    "url": "https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/25791522290498102/",
    "user": {
      "id": "1371399161241822",
      "name": "Anonymous participant",
      "url": ""
    },
    "text": "I’m sorry if I’m going to offend you Internet trolls who are flesh eaters and somehow ended up on this forum, but it’s grapefruit season and grapefruits are juicy delicious and sweet and they are amazing!",
    "attachments": [
      {}
    ],
    "reactionCount": 44,
    "shareCount": 0,
    "commentCount": 32,
    "topComments": [
      {
        "text": "They are awful in RI (USA)",
        "createdAt": 1768152484,
        "author": {
          "name": "Suzanne Therrien",
          "id": "pfbid098PqHNZg2MZhdT49CNhGQH61ArZoVhEw1a3Bko8sR2AuNsyuoa8MhMAoQDAmWrnHl",
          "gender": "FEMALE",
          "url": null,
          "profilePicture": "https://scontent.fxap7-1.fna.fbcdn.net/v/t39.30808-1/596493140_3360299354118960_1756729480934744935_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=100&ccb=1-7&_nc_sid=e99d92&_nc_ohc=bbNP5j6xSi4Q7kNvwFw0PaI&_nc_oc=AdmHrQXxqjaWUIMIjOQY8DSPTPCO3T7mybMKbK8sQRjU52ciKaXXhp3WTbyvPYs2mxE&_nc_zt=24&_nc_ht=scontent.fxap7-1.fna&_nc_gid=lC8zBVAdXB-tqXA79R042Q&oh=00_AfrPDrlD1JRUayi9UHkKCsDJVN89IEuQJh_3mJ9VvgziGA&oe=696AAABE",
          "shortName": "Suzanne",
          "isVerified": false
        },
        "reactionCount": 0,
        "commentCount": 4,
        "url": "https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/25791522290498102/?comment_id=25791580560492275"
      },
      {
        "text": "With molasses over top of them 😮‍💨",
        "createdAt": 1768159596,
        "author": {
          "name": "Casey Lyn",
          "id": "pfbid0L7k9L9CPzC6dvjStYHbhqAN5gx8A2Lmk8u8HbQ5LNMUmAacgw4yJw1x3Yd7i8Lgel",
          "gender": "FEMALE",
          "url": null,
          "profilePicture": "https://scontent.fxap6-1.fna.fbcdn.net/v/t39.30808-1/467417494_8624896650924631_2302117345646702354_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=107&ccb=1-7&_nc_sid=e99d92&_nc_ohc=s-oKDp7ai_0Q7kNvwFWkE7w&_nc_oc=AdnVh1ffZs6JOZroU_p9nwuDnm9RqkdOJ3pbu4PeF-vzZWZL0HrRVyiXye9v_1cnDJA&_nc_zt=24&_nc_ht=scontent.fxap6-1.fna&_nc_gid=lC8zBVAdXB-tqXA79R042Q&oh=00_AfqVdfp1k-k2uIdv0a166-Fjfsw9Y-_0NupuE3kxo23WjQ&oe=696AC68B",
          "shortName": "Casey",
          "isVerified": false
        },
        "reactionCount": 1,
        "commentCount": 2,
        "url": "https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/25791522290498102/?comment_id=25792281233755541"
      }
    ]
  },
```

| 🧾 Field | 💡 Description |
| --- | --- |
| post\_id | Unique identifier for the post |
| message | Post text content |
| creation\_time | ISO timestamp of post creation |
| author | Author name and profile info |
| reactions | Reaction summary |
| comments\_count | Total comments on the post |
| shares\_count | Number of shares |
| attachments | Media links (images, videos, etc.) |
| facebook\_group\_name | Source group name |

***

### 🔗 What are other Facebook scraping tools?

If you want to scrape specific Facebook data, you can use any of the dedicated scrapers below for faster and more targeted results.\
Just enter Facebook URLs, page names, group links, keywords, or profile IDs and start scraping instantly.

| [📱 Facebook Profile Phone Number Scraper](https://apify.com/scraper-engine/facebook-profile-phone-number-scraper) | [🎥 Facebook Videos Scraper](https://apify.com/scraper-engine/facebook-videos-scraper) |
|---|---|
| [📝 Facebook Video Transcript Extractor](https://apify.com/scraper-engine/facebook-video-transcript) | [🎞️ Facebook Reels Scraper](https://apify.com/scraper-engine/facebook-reels-scraper) |
| [📰 Facebook Page Posts Scraper](https://apify.com/scraper-engine/facebook-page-posts-scraper) | [📄 Facebook Pages Scraper](https://apify.com/scraper-engine/facebook-pages-scraper) |
| [📅 Facebook Event Search Scraper](https://apify.com/scraper-engine/facebook-event-search-scraper) | [👥 Facebook Followers Scraper](https://apify.com/scraper-engine/facebook-followers-scraper) |
| [🛒 Facebook Marketplace Scraper](https://apify.com/scraper-engine/facebook-marketplace-scraper) | [🔍 Facebook Video Search Scraper](https://apify.com/scraper-engine/facebook-video-search-scraper) |
| [📢 Facebook Ads Library Scraper](https://apify.com/scraper-engine/facebook-ads-library-scraper) | [🎟️ Facebook Events Scraper](https://apify.com/scraper-engine/facebook-events-scraper) |
| [🔁 Facebook Followers and Following Scraper](https://apify.com/scraper-engine/facebook-followers-following-scraper) | [⭐ Facebook Reviews Scraper](https://apify.com/scraper-engine/facebook-reviews-scraper) |
| [🔗 Facebook URL to ID Scraper](https://apify.com/scraper-engine/facebook-url-to-id) | [👪 Facebook Groups Scraper](https://apify.com/scraper-engine/facebook-groups-scraper) |
| [👤 Facebook Group Profile Scraper](https://apify.com/scraper-engine/facebook-group-profile-scraper) | [📊 Facebook Group Posts and Details Scraper](https://apify.com/scraper-engine/facebook-group-posts-and-details-scraper) |
| [📝 Facebook Posts Scraper](https://apify.com/scraper-engine/facebook-posts-scraper) | [🖼️ Facebook Photos Scraper](https://apify.com/scraper-engine/facebook-photos-scraper) |
| [📧 Facebook Email Scraper](https://apify.com/scraper-engine/facebook-email-scraper) | [📨 Facebook Profile Email Scraper](https://apify.com/scraper-engine/facebook-profile-email-scraper) |
| [📩 Facebook Page Email Scraper](https://apify.com/scraper-engine/facebook-page-email-scraper) | [📞 Facebook Page Phone Number Scraper](https://apify.com/scraper-engine/facebook-page-phone-number-scraper) |
| [☎️ Facebook Phone Number Scraper](https://apify.com/scraper-engine/facebook-phone-number-scraper) |

### ❓ FAQ – Facebook Group Post Scraper

#### 1. Is there a Facebook Group Post Scraper free version?

Yes. The Facebook Group Post Scraper offers a free tier through the Apify Facebook Group Scraper, allowing you to test this cloud-based facebook group post scraper tool before scaling.

***

#### 2. Can I scrape private Facebook groups?

Yes. The Facebook Private Group Post Scraper supports authenticated access via cookies or tokens. This secure facebook group scraper ensures compliant extraction when you scrape facebook group posts from authorized private communities.

***

#### 3. Does it work with Python?

Absolutely. Developers can scrape facebook group posts python using API integrations within this advanced facebook group automation scraper or through SDK-based workflows.

***

#### 4. Is there a browser extension?

Yes. The Facebook Group Post Scraper Extension provides lightweight functionality powered by the same core facebook group scraping tool and facebook group post extractor logic.

***

#### 5. What happens if I report a post in a Facebook group?

Reported posts are reviewed by Facebook moderators. This facebook scraper only collects visible and accessible content using the structured facebook group data scraper system.

***

#### 6. Can I check post approvals or schedules?

Yes. You can integrate the Facebook Group Post Scraper with moderation tools such as a schedule or approval checker while continuing to scrape facebook group posts in bulk for analytics.

***

#### 7. Can I retrieve deleted or removed posts?

Once a post is permanently removed from Facebook servers, it cannot be re-scraped. However, data previously collected using the bulk facebook group post scraper remains available in your exported datasets.

***

### 🚀 Final Thoughts

The Facebook Group Post Scraper is a scalable facebook group post scraper tool and enterprise-ready facebook scraper built to scrape facebook group posts efficiently and securely.

Whether you use the Apify Facebook Group Scraper, open-source facebook group post scraper github repositories, or developer workflows to scrape facebook group posts python, this solution simplifies large-scale data extraction.

With support for scrape facebook group posts in bulk, structured exports, and automation via a robust facebook group automation scraper, you can transform Facebook group discussions into actionable analytics.

✨ Start using the Facebook Group Post Scraper today and turn community conversations into measurable insights.

# Actor input Schema

## `startUrls` (type: `array`):

📥 Enter one or more Facebook group URLs (example: https://www.facebook.com/groups/germtheory.vs.terraintheory), usernames, or keywords. Perfect for single or bulk input. ⚡

## `maxPosts` (type: `integer`):

🎯 Set how many posts to collect from each group (minimum: 10). Increase for deeper analysis.

## `sortBy` (type: `string`):

🗂️ Choose how posts are ordered.

• **All sorts** — combine three sort orders to maximize unique posts collected (best for hitting `Maximum Posts per Group`).
• **Top posts** — most-engaged posts first.
• **Chronological** — newest posts first.
• **Recent activity** — posts with the latest comments/reactions first.

## `proxyConfiguration` (type: `object`):

🌐 Configure proxy preferences for improved stability when needed. Default settings work for most runs.

## Actor input object example

```json
{
  "startUrls": [
    "germtheory.vs.terraintheory",
    "https://www.facebook.com/groups/mrbeast",
    "mrbeast"
  ],
  "maxPosts": 10,
  "sortBy": "ALL",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.facebook.com/groups/cheapmealideas/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraper-engine/facebook-group-post-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": ["https://www.facebook.com/groups/cheapmealideas/"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("scraper-engine/facebook-group-post-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.facebook.com/groups/cheapmealideas/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call scraper-engine/facebook-group-post-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scraper-engine/facebook-group-post-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook Group Post Scraper",
        "description": "Scrape Facebook group posts easily with Facebook Group Post Scraper! Extract post text, author info, reactions, comments, and timestamps from any group. Perfect for data collection, market research, community analysis, and engagement tracking across Facebook groups.",
        "version": "0.1",
        "x-build-id": "QC9dbm1FXbdYEndny"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scraper-engine~facebook-group-post-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scraper-engine-facebook-group-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scraper-engine~facebook-group-post-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scraper-engine-facebook-group-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scraper-engine~facebook-group-post-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scraper-engine-facebook-group-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "🔗 Group URLs, Usernames, or Keywords",
                        "type": "array",
                        "description": "📥 Enter one or more Facebook group URLs (example: https://www.facebook.com/groups/germtheory.vs.terraintheory), usernames, or keywords. Perfect for single or bulk input. ⚡",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxPosts": {
                        "title": "📊 Maximum Posts per Group",
                        "minimum": 10,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "🎯 Set how many posts to collect from each group (minimum: 10). Increase for deeper analysis.",
                        "default": 10
                    },
                    "sortBy": {
                        "title": "🔃 Sort Order",
                        "enum": [
                            "ALL",
                            "TOP_POSTS",
                            "CHRONOLOGICAL",
                            "RECENT_ACTIVITY"
                        ],
                        "type": "string",
                        "description": "🗂️ Choose how posts are ordered.\n\n• **All sorts** — combine three sort orders to maximize unique posts collected (best for hitting `Maximum Posts per Group`).\n• **Top posts** — most-engaged posts first.\n• **Chronological** — newest posts first.\n• **Recent activity** — posts with the latest comments/reactions first.",
                        "default": "ALL"
                    },
                    "proxyConfiguration": {
                        "title": "🛡️ Proxy Configuration",
                        "type": "object",
                        "description": "🌐 Configure proxy preferences for improved stability when needed. Default settings work for most runs."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
