# Facebook Group Posts Scraper · No Cookies (`data-slayer/facebook-group-posts`) Actor

Extract posts from any public Facebook group without login. Get full post text, reactions by type, comments, shares, author profiles, media attachments, and timestamps. No cookies, no authentication. Export as JSON/CSV/Excel.

- **URL**: https://apify.com/data-slayer/facebook-group-posts.md
- **Developed by:** [Data Slayer](https://apify.com/data-slayer) (community)
- **Categories:** Social media, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 82 total users, 2 monthly users, 59.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 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 (No Login Required)

Extract Facebook group posts at scale without authentication or cookies. This scraper accesses publicly available group content through a cookieless architecture, eliminating the risk of account bans while delivering comprehensive post data, engagement metrics, and author profiles for competitive intelligence and community analysis.

### Key Features

🔒 **Cookieless / No Login Required** - Access public Facebook group posts without authentication, cookies, or account credentials. Zero risk of account suspension or rate limiting.

📈 **Scalable Architecture** - Extract thousands of group posts with detailed engagement metrics, reaction breakdowns, and author information in a single run.

✅ **Rich Post Data** - Capture complete post content including messages, timestamps, media attachments (images/videos), reaction counts by type (like, love, wow, haha, sad, angry, care), comment counts, share counts, and full author profiles with profile pictures.

⚡ **Fast & Reliable** - Optimized extraction engine delivers consistent results with automatic retry logic and error handling for uninterrupted data collection.

📊 **Export-Ready Formats** - Download your data instantly in JSON, CSV, or Excel format, ready for analysis in your preferred business intelligence tools, CRM systems, or spreadsheet applications.

### Use Cases

**Social Media Managers**: Monitor multiple Facebook groups to track trending topics, content performance patterns, and community engagement levels. Identify high-performing post formats and optimal posting times to inform your content strategy.

**Market Research Analysts**: Analyze audience sentiment and conversation themes across competitor groups or industry communities. Extract thousands of posts to identify emerging trends, pain points, and customer preferences for strategic planning.

**Sales & Lead Generation Teams**: Discover potential customers actively discussing relevant topics in niche Facebook groups. Export posts with author profiles to build targeted outreach lists and identify warm leads expressing specific needs or interests.

### Inputs

| Field | Type | Description |
|-------|------|-------------|
| groupId | String | The unique Facebook Group ID (e.g., 1439220986320043). Find this in the group URL after `/groups/`. |

### Outputs

**Available Formats**: JSON, CSV, Excel

**Key Data Fields**:

- `post_id` - Unique identifier for each post
- `url` - Direct link to the post
- `message` - Full text content of the post
- `timestamp` - Unix timestamp of when the post was created
- `comments_count` - Total number of comments
- `reactions_count` - Total reactions across all types
- `reactions` - Breakdown by type (like, love, wow, haha, sad, angry, care)
- `reshare_count` - Number of times the post was shared
- `author.id` - Author's unique Facebook ID
- `author.name` - Author's display name
- `author.url` - Link to author's profile
- `author.profile_picture_url` - Author's profile image URL
- `image.uri` - URL of attached image (if present)
- `image.height` / `image.width` - Image dimensions
- `video` - Video attachment data (if present)
- `external_url` - Any external links shared in the post

### How to Use

**Step 1**: Enter the target Facebook Group ID in the `groupId` field. You can find this numeric ID in the group's URL (e.g., facebook.com/groups/1439220986320043).

**Step 2**: Configure any additional parameters such as date ranges or post limits based on your data collection needs.

**Step 3**: Run the scraper and download your results in JSON, CSV, or Excel format. Data is available immediately upon completion.

### Sample Output

```json
{
  "post_id": "4230362860539161",
  "type": "post",
  "url": "https://www.facebook.com/groups/boardgamecommunity/posts/4230362860539161/",
  "message": "Looking for recommendations on strategy games for 2-4 players. Preferably something with medium complexity and under 90 minutes playtime.",
  "message_rich": "Looking for recommendations on strategy games for 2-4 players. Preferably something with medium complexity and under 90 minutes playtime.",
  "timestamp": 1765705599,
  "comments_count": 23,
  "reactions_count": 15,
  "reshare_count": 2,
  "reactions": {
    "angry": 0,
    "care": 1,
    "haha": 0,
    "like": 12,
    "love": 2,
    "sad": 0,
    "wow": 0
  },
  "author": {
    "id": "pfbid0jTpnC5rAwPLzqpn8G2QbJgAi3u7qyXWyWfYuUokDiVukw2r5TtkfXu5QMrGDeA3Ll",
    "name": "Sarah Mitchell",
    "url": "https://www.facebook.com/sarah.mitchell.37",
    "profile_picture_url": "https://scontent.flhe6-1.fna.fbcdn.net/v/t39.30808-1/profile_pic.jpg"
  },
  "author_title": null,
  "image": null,
  "video": null
}
```

***

This Facebook group posts scraper enables efficient social media group posts extraction for competitive intelligence and community monitoring. Whether you need to export group posts for sentiment analysis, collect group posts data for market research, or perform group post extraction for lead generation from group posts, this tool delivers comprehensive results without authentication requirements.

### FAQ

**How much does it cost to run this Actor?**
Pricing is listed in the Pricing section above, charged per row returned. You only pay for the rows
the Actor actually produces, so a small test run costs cents.

**Do I need cookies or a login?**
No. This Actor reads public data only - no cookies, no account, no browser automation.

**Can I schedule it?**
Yes. Run it from the Apify API, on a schedule, or via a webhook, and export results as JSON, CSV or Excel.

**What if I need a slightly different output?**
Open an issue on the Actor's Issues tab describing the shape you need.

### Related actors

More Facebook actors from the same portfolio. Apify only auto-recommends actors in the same category, so here are the rest of ours:

| Actor |
|---|
| [Facebook Ads Library Scraper](https://apify.com/data-slayer/facebook-ads-library-scraper) |
| [Facebook Comments & Replies Scraper](https://apify.com/data-slayer/facebook-comments-scraper) |
| [Facebook Events Scraper · No Cookies](https://apify.com/data-slayer/facebook-search-events) |
| [Facebook Keyword Post Search · Public Posts](https://apify.com/data-slayer/facebook-post-search) |
| [Facebook Marketplace Listing Scraper · No Cookies](https://apify.com/data-slayer/facebook-marketplace-details) |
| [Facebook Page Details Scraper · No Cookies](https://apify.com/data-slayer/facebook-page-details) |
| [Facebook Page Posts Scraper · No Cookies](https://apify.com/data-slayer/facebook-page-posts) |
| [Facebook Page Reviews Scraper · No Cookies](https://apify.com/data-slayer/facebook-page-reviews) |
| [Facebook Page Search Scraper · No Cookies](https://apify.com/data-slayer/facebook-search-pages) |
| [Facebook People Search Scraper · No Cookies](https://apify.com/data-slayer/facebook-search-people) |
| [Facebook Public Profile Scraper · People Lookup by URL or ID](https://apify.com/data-slayer/facebook-profile-scraper) |

# Actor input Schema

## `groupUrlOrId` (type: `string`):

A public facebook.com/groups/<numeric-id>/ URL or the numeric group ID. Private, hidden, login-only, and vanity-only group paths are not supported.

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

Hard limit on unique post records saved to the default dataset.

## `maxPages` (type: `integer`):

Maximum public feed pages requested. The run also stops at the post limit, feed end, repeated cursor, or safety time limit.

## `groupId` (type: `string`):

Backward-compatible input for existing API integrations. New tasks should use Public Facebook group URL or ID. If both are supplied, they must identify the same group.

## Actor input object example

```json
{
  "groupUrlOrId": "https://www.facebook.com/groups/1439220986320043/",
  "maxItems": 10,
  "maxPages": 2
}
```

# Actor output Schema

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

One default-dataset row per unique accepted post, written exactly as returned.

## `runSummary` (type: `string`):

Status, bounds, page/duplicate counts, and observed automatic-charge reconciliation.

# 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 = {
    "groupUrlOrId": "https://www.facebook.com/groups/1439220986320043/",
    "maxItems": 10,
    "maxPages": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-slayer/facebook-group-posts").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 = {
    "groupUrlOrId": "https://www.facebook.com/groups/1439220986320043/",
    "maxItems": 10,
    "maxPages": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("data-slayer/facebook-group-posts").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 '{
  "groupUrlOrId": "https://www.facebook.com/groups/1439220986320043/",
  "maxItems": 10,
  "maxPages": 2
}' |
apify call data-slayer/facebook-group-posts --silent --output-dataset

```

## MCP server setup

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

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/3HT9HCdKm8aJU4Jur/builds/3UkfOJ4mhrYLSPcfA/openapi.json
