# Facebook Group Posts Scraper 💰 $1.99/1K · New Posts Only (`first-penguin/facebook-groups`) Actor

Scrape public Facebook groups without login: posts with text, author, date, reactions, comments, shares, photos and links. Group name and members in every row. Monitor mode returns only new posts, with Slack, Discord and webhook alerts. Unreadable groups and empty posts are free.

- **URL**: https://apify.com/first-penguin/facebook-groups.md
- **Developed by:** [First Penguin](https://apify.com/first-penguin) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 — $1.99/1K · Public Groups · New Posts Only · No Login

Get posts from **public Facebook groups**, one row per post: text, date, author, reactions, comment count, share count, photos, videos, links and shared posts. Add the **comments** Facebook shows next to each post if you want them. No Facebook account, no cookies.

Turn on **Only new posts** and schedule it: each run returns only posts you have not seen yet, sends them to **Slack, Discord or any webhook** (Zapier, Make, n8n), and you pay only for the new ones.

Groups that cannot be read, and posts with nothing in them, come back as a free row with the reason, so you always know what is missing.

### Limits first (no login)

- **Public groups only.** Private and closed groups need a login and are not supported. They return a free `group_needs_login` or `group_not_public` row.
- **No group search.** Facebook does not return group search to logged-out visitors. Pass group URLs, names or IDs.
- **Newest first, with one caveat.** The group page shows one post first in Facebook's own order, and its date can be old. This Actor does not use that post: it reads the newest-first list instead and sorts the output by date. In our test the first 40 posts of two groups had no date out of order; deeper positions were not checked.
- **Depth depends on Facebook.** In our test, 400 posts were read from one large group (back to March 2025) in about 8 minutes, and 100 posts each from three groups. Facebook limited the speed once during the 400-post run; the Actor switched connection and carried on. We did not test beyond 400.
- **Comments: text, author and date only.** The text of replies to comments is not available (you get the reply count). You can get fewer comments than the post's comment count (19 of 32 in our test).
- Some posts have no text (photo-only posts). Posts with no text, no media, no link and no shared post are skipped and not charged.
- Two runs at the same moment can differ by a post or two.

### Who uses it

| You want to | Example | Turn on |
|---|---|---|
| Find leads | Posts like "looking for…" or "selling…" with the author's name and profile link | Groups + Only new posts + Slack |
| Watch a niche | Jobs, rentals or listings in a local group, every morning | Groups + Only new posts + a schedule |
| Listen to a community | What members say about your product or topic | Groups + Include comments |
| Feed AI and automations | Summarize or classify posts in n8n, Make or an LLM | Any input, via API or MCP |

### How it works

1. **Give it groups** — group URLs (`https://www.facebook.com/groups/python`), names (`python`) or numeric IDs. Duplicates are removed.
2. **It reads what Facebook shows a logged-out visitor.** It opens the group page once for the group ID, name and member count, then reads the post list three posts at a time, newest first. With a start date it stops when several posts in a row are older.
3. **One row per post.** Every group that returns nothing gets a free row with a `reason`.

### Compared with other Facebook group scrapers

| | This Actor | A typical group Actor |
|---|---|---|
| Login or cookies | Not needed ✅ | Often needed ❌ |
| Only new posts | Returns and charges only posts you have not seen ✅ | Returns everything every run ❌ |
| Alerts | Slack, Discord, webhook ✅ | None ❌ |
| Group name, members, privacy | In every row ✅ | Often a separate Actor ❌ |
| Groups that cannot be read, empty posts | Free rows with the reason ✅ | Reports of charges for empty items ❌ |
| Exact limit | Never more than you asked ✅ | Some return more ❌ |

### Pricing

| | Price |
|---|---|
| Post returned | **$1.99 / 1,000** |
| Comment returned (only when Include comments is on) | $0.50 / 1,000 |
| Run start | Free |
| Groups that return nothing, empty posts, posts you already have (monitor mode), posts outside your dates | **Free** |

1,000 posts cost at most $1.99. Residential proxy is included in the price.

### Input

| Field | What it does | Default |
|---|---|---|
| `startUrls` | Group URLs, names or numeric IDs | — |
| `maxPostsPerGroup` | Hard limit per group, newest first | 20 |
| `onlyPostsNewerThan` | `2026-01-31` or `3 days`, `2 weeks`, `1 month` | — |
| `onlyPostsOlderThan` | `2025-12-31` or `1 year` (newer posts are skipped, not charged) | — |
| `includeComments` | Add visible comments to each post | false |
| `maxCommentsPerPost` | Comments per post | 10 |
| `onlyNewPosts` | Monitor mode | false |
| `monitorName` | Separate watch lists | `default` |
| `slackWebhookUrl`, `discordWebhookUrl`, `webhookUrl` | Alerts in monitor mode | — |
| `maxConcurrency` | Groups read at the same time | 3 |

```json
{
  "startUrls": ["https://www.facebook.com/groups/python", "bitcoin"],
  "maxPostsPerGroup": 50,
  "onlyPostsNewerThan": "1 month",
  "includeComments": true,
  "maxCommentsPerPost": 10
}
```

### Output

One row per post (example with made-up data):

```json
{
  "status": "ok",
  "postId": "1234567890123456",
  "url": "https://www.facebook.com/groups/examplegroup/posts/1234567890123456/",
  "time": "2026-11-19T15:19:50.000Z",
  "timestamp": 1795101590,
  "text": "Does anyone know a good tutorial for async programming?",
  "authorName": "Sam Example",
  "authorId": "100000000000001",
  "authorUrl": "https://www.facebook.com/sam.example",
  "reactions": 12,
  "reactionsByType": { "like": 10, "love": 2 },
  "comments": 5,
  "shares": 0,
  "media": [],
  "link": null,
  "sharedPost": null,
  "groupId": "123456789012345",
  "groupName": "Example Group",
  "groupUrl": "https://www.facebook.com/groups/123456789012345",
  "groupMembers": 903900,
  "groupMembersText": "903.9K members",
  "groupPrivacy": "public",
  "topComments": [
    { "commentId": "2124430374846078", "text": "Try the official docs first.", "authorName": "Alex Example", "authorUrl": "https://www.facebook.com/alex.example", "time": "2026-11-19T16:02:11.000Z", "replies": 0 }
  ],
  "isNew": true,
  "source": { "type": "group", "input": "python" },
  "scrapedAt": "2026-11-24T10:00:00.000Z"
}
```

A group that returned nothing (free):

```json
{ "status": "failed", "reason": "group_needs_login", "detail": "Facebook shows this group only to signed-in users (private or closed group, or Facebook asked for a login).", "input": "https://www.facebook.com/groups/someprivategroup" }
```

Reasons: `group_needs_login`, `group_not_public`, `group_not_found`, `no_public_posts`, `no_posts_in_dates`, `no_new_posts`, `post_url_not_supported`, `not_a_group_url`, `not_a_facebook_url`, `invalid_input`, `invalid_date`, `unavailable`, `query_changed`.

The **Run summary** (key-value store `RUN_SUMMARY`) lists every input with how many posts were read and why reading stopped.

### Monitor mode

- Turn on `onlyNewPosts`, save the input as a task and add a [schedule](https://docs.apify.com/platform/schedules) (daily suits most groups; hourly suits busy ones).
- The first run returns everything it reads (up to your limit) and remembers it. Later runs return only new posts and stop reading once they reach posts you already have.
- Alerts: one Slack or Discord message per group with new posts; the webhook gets `{ source, newPosts, detectedAt }`.
- The list of post IDs you have seen is stored **only in your own Apify account** (key-value store `facebook-groups-monitor-<name>`). We keep nothing.

### Measured on 2026-11-23/24 (Apify, logged out, residential proxy)

- 2 public groups, 120 posts each (40 requests per group): no duplicates, no rate limit. 1 group, 400 posts: 393 returned (7 empty posts skipped), 8.4 minutes, about $0.42 of run cost per 1,000 posts. Post ID, URL, date, author name, reactions, comment count and share count on 120 of 120 posts; text on 112 and 104.
- Of 12 groups we picked by guessing names, 3 could be read; the rest were private or not found. We did not measure what share of real public groups can be read.
- Comments (18 posts): text, author and date present; 19 of the 32 counted comments were returned; reply text not available.
- Media (90 posts): photos, links and shared posts are parsed; videos with view counts on a group with videos.

### FAQ

**Do I need a Facebook account or cookies?** No.

**Can I read private or closed groups?** No. They need a login.

**Can I search for groups by keyword?** No. Facebook does not return that to logged-out visitors. Pass the group URL.

**Why did I get fewer posts than my limit?** The group has fewer posts, Facebook stopped the list, or your date range cut it. The `reason` and the Run summary tell which.

**Are replies to comments included?** Only the reply count.

### For AI agents

Minimal input: `{ "startUrls": ["<group url, name or id>"], "maxPostsPerGroup": 10 }`. Each row has `status` (`ok` or `failed`); failed rows have a `reason` and are not charged. Comments are in `topComments` when `includeComments` is true.

### Support & feature requests

Found a bug, a missing field, or need another field or integration? Open an issue in the **Issues** tab. We add it to this Actor so you can use it right here on Apify. We aim to reply within one working day.

### Disclaimer

This Actor reads only what Facebook shows to logged-out visitors. It is not affiliated with Meta. Results can contain personal data (names of authors and commenters): you need a legitimate reason to process it, and you are responsible for how you use it.

### Keywords

facebook groups scraper, facebook group posts, facebook group scraper no login, public facebook groups, facebook group monitor, facebook group new post alert, facebook group comments, facebook to slack

### Related Actors

- [Facebook Posts Scraper](https://apify.com/first-penguin/facebook-posts-scraper) – Pages, public profiles and post URLs, with new-post alerts
- [Facebook Search Scraper](https://apify.com/first-penguin/facebook-search-scraper) – search Facebook posts, Pages and people by keyword, no login
- [Facebook Ads Library Scraper & Monitor](https://apify.com/first-penguin/facebook-ads-library-scraper-monitor)
- [Instagram Profile Monitor](https://apify.com/first-penguin/instagram-profile-monitor) – follower tracking with alerts

# Actor input Schema

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

Group URLs (https://www.facebook.com/groups/python), group names (python) or numeric group IDs. Only public groups can be read. Pages and profiles are not supported here; use Facebook Posts Scraper for those.

## `maxPostsPerGroup` (type: `integer`):

Hard limit per group, newest first. You are never charged for more than this.

## `onlyPostsNewerThan` (type: `string`):

A date (2026-01-31) or a period (3 days, 2 weeks, 1 month). Reading stops once several posts in a row are older, so you don't pay for old posts.

## `onlyPostsOlderThan` (type: `string`):

A date (2025-12-31) or a period (1 year). Newer posts are skipped (not charged), but Facebook cannot jump to a date, so reading still starts from the newest post.

## `includeComments` (type: `boolean`):

Add the comments Facebook shows to logged-out visitors (text, author, date) to each post row as topComments. Replies are not included. Each comment is billed.

## `maxCommentsPerPost` (type: `integer`):

Only used when Include comments is on.

## `onlyNewPosts` (type: `boolean`):

Return only posts that no earlier run with the same monitor name returned. The first run returns everything and remembers it. Reading stops once it reaches posts you already have, so scheduled runs stay cheap. The list of seen post IDs is stored only in your own Apify account.

## `monitorName` (type: `string`):

Use different names to keep separate watch lists.

## `slackWebhookUrl` (type: `string`):

Optional. In monitor mode, one message per group when it has new posts.

## `discordWebhookUrl` (type: `string`):

Optional. Same as Slack.

## `webhookUrl` (type: `string`):

Optional. In monitor mode, receives a JSON POST per group with new posts: source, newPosts (full rows), detectedAt.

## `maxConcurrency` (type: `integer`):

How many groups to read at the same time.

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

Residential proxy is required: Facebook sends datacenter IPs to a login page.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.facebook.com/groups/python"
  ],
  "maxPostsPerGroup": 20,
  "includeComments": false,
  "maxCommentsPerPost": 10,
  "onlyNewPosts": false,
  "monitorName": "default",
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `posts` (type: `string`):

One row per post. Groups that returned nothing are free rows with a reason.

## `summary` (type: `string`):

Per input: how many posts were read and why reading stopped.

# 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/python"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("first-penguin/facebook-groups").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/python"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("first-penguin/facebook-groups").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 '{
  "startUrls": [
    "https://www.facebook.com/groups/python"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call first-penguin/facebook-groups --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,first-penguin/facebook-groups"
        }
    }
}
```

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/hIUcc4FD58pbtKw9k/builds/8fkJSWY6FNd1lBRJl/openapi.json
