# Facebook Group Posts Scraper 🔥 $0.60/1K | No Login (`azzouzana/facebook-group-posts-scraper`) Actor

From $0.60/1K 💰 Extract public Facebook Group posts, authors, timestamps, reactions, shares, attachments & comments with zero login. Filter by date, sort order, or keyword. Export clean JSON, CSV, Excel or API in seconds. 🚀

- **URL**: https://apify.com/azzouzana/facebook-group-posts-scraper.md
- **Developed by:** [Azzouzana](https://apify.com/azzouzana) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 group post results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Facebook Group Posts Scraper: Public Group Posts, Authors & Comments

Extract posts, author profiles, timestamps, reactions, shares, attachments, and comment threads from any public Facebook Group with zero login. Paste a public group URL, optionally filter by date or keyword, and export structured results in JSON, CSV, Excel, or via API in seconds.

### Why Use This Facebook Group Posts Scraper 🚀

- **No Login Required**: Extract public Facebook Group discussions immediately without connecting a personal account.
- **Clean, Focused Setup**: Just paste your group URL and pick your post limit, optional date and keyword filters stay neatly out of your way until you need them.
- **We bypass the website limitation and go beyond it**: Large group scrapes keep going up to your `maxItems`, and duplicate posts are automatically skipped.
- **Human-Friendly Date Cutoffs**: Filter recent activity effortlessly using shorthand like `"24h"`, `"7d"`, `"30d"`, or an exact `YYYY-MM-DD` date.
- **Optional Full Post Details**: Toggle `fetchFullDetails` when you want extended post data and top visible comments alongside the feed. For extracting all comments and nested replies from specific posts, pair it with our [Facebook Comments Scraper](https://apify.com/azzouzana/facebook-comments-scraper?fpr=cbgdsf).
- **Ready-to-Use Exports**: Download clean JSON, CSV, or Excel files, or connect directly to your automations and workflows.

### 🎯 Facebook Group Posts Scraper Use Cases

- **Social Listening & Brand Monitoring**: Track mentions of your brand, products, or competitors inside active niche Facebook communities.
- **B2B & Local Lead Generation**: Surface people actively asking for recommendations, quotes, or services in local and industry groups.
- **Market & Audience Research**: Analyze real customer pain points, recurring questions, and trending topics straight from community discussions.
- **Content & Viral Idea Mining**: Identify high-engagement posts, popular formats, and top-performing questions to fuel your editorial calendar.
- **Scheduled Community Tracking**: Combine `postedAfter` (such as `"24h"` or `"7d"`) with scheduled runs to build a daily digest of new posts.

### 🛠️ How to Scrape Facebook Group Posts

Copy any public Facebook Group URL from your browser address bar (both numeric IDs like `https://www.facebook.com/groups/874728723021553` and custom slugs like `https://www.facebook.com/groups/nodejs/`) and paste it into `startUrl`.

| Field | Type | Required | Description |
| :--- | :--- | :---: | :--- |
| `startUrl` | `string` | Yes | Public Facebook Group URL from your browser. |
| `maxItems` | `integer` | No | Maximum number of posts to extract (default: `100`, minimum: `10`). |
| `fetchFullDetails` | `boolean` | No | Include extended post metadata and fuller comment context (default: `false`). |
| `sortBy` | `string` | No | Choose which posts to prioritize: `NEWEST`, `RECENT_ACTIVITY`, or `TOP_POSTS` (default: `NEWEST`). |
| `postedAfter` | `string` | No | Optional date cutoff using relative shorthand (`"24h"`, `"7d"`, `"30d"`) or `YYYY-MM-DD`. |
| `searchKeyword` | `string` | No | Optional case-insensitive keyword filter applied to post text and author name. |

#### Example 1: Scrape Latest 100 Posts from a Public Group

```json
{
    "startUrl": "https://www.facebook.com/groups/874728723021553",
    "maxItems": 100,
    "fetchFullDetails": false,
    "sortBy": "NEWEST"
}
```

#### Example 2: Monitor Last 7 Days with Keyword Filter

```json
{
    "startUrl": "https://www.facebook.com/groups/874728723021553",
    "maxItems": 200,
    "sortBy": "NEWEST",
    "postedAfter": "7d",
    "searchKeyword": "homework"
}
```

#### Example 3: Extract Posts with Full Details & Comments

```json
{
    "startUrl": "https://www.facebook.com/groups/874728723021553",
    "maxItems": 50,
    "fetchFullDetails": true,
    "sortBy": "RECENT_ACTIVITY"
}
```

### 📊 What Data Does This Facebook Group Posts Scraper Extract?

Every dataset row is a clean, flat JSON object ready for spreadsheets, CSV/Excel exports, and downstream automations with zero nested clutter.

| Field | Type | Description |
| :--- | :--- | :--- |
| `postId` | `string` | Unique numeric Facebook post identifier. |
| `url` | `string` | Direct public URL to the group post. |
| `groupId` | `string` | Numeric Facebook Group ID. |
| `groupName` | `string` | Public display name of the Facebook Group. |
| `authorName` | `string` | Post author display name. |
| `authorId` | `string` | Post author Facebook profile ID. |
| `authorUrl` | `string` | Direct URL to the author's public profile. |
| `text` | `string` | Full post body text. |
| `createdAt` | `string` | ISO-8601 publish timestamp. |
| `reactionsCount` | `integer` | Total reactions count on the post. |
| `commentsCount` | `integer` | Total comments count on the post. |
| `sharesCount` | `integer` | Total shares count on the post. |
| `mediaUrls` | `array` | Direct image and video URLs attached to the post. |
| `externalLinks` | `array` | External URLs shared inside the post. |
| `topComments` | `array` | Clean list of comments (`authorName`, `text`, `createdAt`, `reactionsCount`). |

#### Facebook Group Post Output Sample (JSON)

```json
{
    "postId": "2680615375766203",
    "url": "https://www.facebook.com/groups/874728723021553/posts/2680615375766203/",
    "groupId": "874728723021553",
    "groupName": "Maths Formulas",
    "groupUrl": "https://www.facebook.com/groups/874728723021553/",
    "authorName": "AllMath",
    "authorId": "100064396285921",
    "authorUrl": "https://www.facebook.com/AllMathSocial",
    "text": "Let's welcome our new members!",
    "createdAt": "2026-11-22T07:39:28.000Z",
    "timestamp": 1795333168,
    "reactionsCount": 7,
    "commentsCount": 0,
    "sharesCount": 0,
    "mediaUrls": [
        "https://scontent.ftun10-1.fna.fbcdn.net/v/t39.99422-6/926502560_1724646662418445_2541631571789971394_n.png"
    ],
    "externalLinks": [],
    "topComments": []
}
```

### 🆓 Free Tier Limits for Facebook Group Scraping

Free Apify accounts can extract up to **5 items** per run, run up to **5 runs** per day, with at least **60 seconds** between runs. Upgrade to a paid Apify plan to remove these limits and run large-scale extractions: [Upgrade on Apify](https://apify.com/pricing?fpr=cbgdsf).

### ❓ Frequently Asked Questions (FAQ)

**Can I scrape private Facebook Groups with this actor?**
No. This actor only extracts posts from **public** Facebook Groups without requiring a login or personal account.

**Do I need to enter a numeric Group ID or can I paste a custom URL slug?**
Both work automatically. Paste either `https://www.facebook.com/groups/874728723021553` or `https://www.facebook.com/groups/your-group-slug/`.

**How many posts can I extract from a large group?**
Pagination is handled for you automatically, and we bypass the website limitation and go beyond it up to your `maxItems`. Duplicate posts are skipped.

**What does `fetchFullDetails` add?**
When enabled, each post is enriched with fuller metadata and the top visible public comments in addition to the main group feed data. Need every comment and nested reply from high-engagement posts? Pass the extracted post URLs into our dedicated [Facebook Comments Scraper](https://apify.com/azzouzana/facebook-comments-scraper?fpr=cbgdsf).

**What formats can I export my Facebook Group data in?**
Every run can be downloaded as JSON, CSV, Excel (XLSX), HTML, or consumed directly via the Apify REST API, webhooks, Make, Zapier, or n8n.

**Is scraping public Facebook Group data legal?**
This actor accesses publicly visible group posts only. You are responsible for complying with applicable laws, privacy regulations, and platform terms. Learn more in the [Apify web scraping legality guide](https://blog.apify.com/is-web-scraping-legal?fpr=cbgdsf).

### 🔗 Related Social Media Scrapers

- [Meta / Facebook Ads Library Scraper](https://apify.com/azzouzana/meta-facebook-instagram-ads-library?fpr=cbgdsf)
- [Facebook Comments Scraper](https://apify.com/azzouzana/facebook-comments-scraper?fpr=cbgdsf)
- [Instagram Comments Scraper](https://apify.com/azzouzana/instagram-comments-scraper?fpr=cbgdsf)
- [Instagram Highlights & Stories Scraper](https://apify.com/azzouzana/instagram-scraper?fpr=cbgdsf)
- [LinkedIn Ads Library Scraper](https://apify.com/azzouzana/linkedin-ads-library-scraper?fpr=cbgdsf)
- [TikTok Ads Library Scraper](https://apify.com/azzouzana/tiktok-ads-library?fpr=cbgdsf)

### Contact 📬

**Need a custom solution? Have a feature request or just want to chat?**
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

### ⚠️ Disclaimer

This actor is not affiliated with, endorsed by, or sponsored by Meta or Facebook. It is intended for extracting publicly available information only. Users are solely responsible for ensuring their use complies with all applicable laws, data protection regulations, and website terms of service. Read more on the [Apify legality blog](https://blog.apify.com/is-web-scraping-legal?fpr=cbgdsf).

# Actor input Schema

## `startUrl` (type: `string`):

Paste any public Facebook Group URL from your browser (supports both numeric IDs and custom slugs).

## `maxItems` (type: `integer`):

Maximum number of group posts to extract. Effective limit also respects run budget and free-tier cap (5 for free users).

## `fetchFullDetails` (type: `boolean`):

Include extended post details, media metadata, and fuller comment threads. Slower.

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

Choose which posts to prioritize.

## `postedAfter` (type: `string`):

Optional date cutoff. Use a relative shorthand like "24h", "7d", "30d" or an exact date like "2026-01-01".

## `searchKeyword` (type: `string`):

Optional case-insensitive keyword filter. Only posts containing this text in their body, author name, or link preview are kept.

## Actor input object example

```json
{
  "startUrl": "https://www.facebook.com/groups/874728723021553",
  "maxItems": 100,
  "fetchFullDetails": false,
  "sortBy": "NEWEST",
  "postedAfter": "7d",
  "searchKeyword": "math"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "startUrl": "https://www.facebook.com/groups/874728723021553",
    "maxItems": 100,
    "fetchFullDetails": false,
    "sortBy": "NEWEST"
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/facebook-group-posts-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 = {
    "startUrl": "https://www.facebook.com/groups/874728723021553",
    "maxItems": 100,
    "fetchFullDetails": False,
    "sortBy": "NEWEST",
}

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

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

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

```

## CLI example

```bash
echo '{
  "startUrl": "https://www.facebook.com/groups/874728723021553",
  "maxItems": 100,
  "fetchFullDetails": false,
  "sortBy": "NEWEST"
}' |
apify call azzouzana/facebook-group-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,azzouzana/facebook-group-posts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/3dvRye9HG7qY3swo5/builds/77BXB3D7ztOHRvHCc/openapi.json
