# Facebook Groups Scraper & Monitor: Public Group Posts, No Login (`headply/facebook-groups-scraper`) Actor

Scrape posts from public Facebook groups: text, author, time, reactions, comments and media. Monitor groups for new posts on a schedule. No login, no cookies, no group membership needed.

- **URL**: https://apify.com/headply/facebook-groups-scraper.md
- **Developed by:** [Mayowa Ogedengbe](https://apify.com/headply) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.75 / 1,000 post scrapeds

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 Groups Scraper - Public Group Posts, No Login

Export posts from **public Facebook groups**: text, author, time, reactions, comments and photos. Watch groups on a
schedule and get **only new posts**, for leads, job posts, community research or brand mentions.

### Why people use it

- ✅ **No login, no cookies, no group membership.** Nothing to join, nothing to get banned.
- 👥 **Many groups in one run**, each tagged in the results.
- 🔔 **New-post alerts.** On a schedule it returns only posts you haven't received yet, at a lower price.
- 🧹 **Clean records**: one row per post, the same fields every time.
- 💸 **From $1.75 per 1,000 posts.**

### Quick start

1. Add groups to **Public groups**: `ReactJSDevelopers` or `https://www.facebook.com/groups/ReactJSDevelopers`.
2. Set **Max results per group** (e.g. 100).
3. Press **Start**.

### What you get for each post

| Field | Example |
|---|---|
| `postType` | `text`, `photo`, `video`, `reel` or `link` |
| `text` | "We are seeking a senior developer with strong React and Node.js…" |
| `createdAt` | `2026-05-05T16:08:36.000Z` |
| `authorName`, `authorUrl` | the poster's public name and profile link |
| `reactionCount`, `commentCount`, `shareCount` | `19`, `29`, `0` |
| `media` | photo and video links |
| `url` | link to the post in the group |
| `source` | `{ "kind": "group", "target": "ReactJSDevelopers" }` |

Download as JSON, CSV, Excel or HTML, or browse the **Posts, reels & videos** table.

### Pricing

Prices drop on higher Apify plans.

| What | Price per 1,000 (Free plan → Gold and above) |
|---|---|
| Group post | **$2.50** → $1.75 |
| New post since your last run (monitoring) | $1.00 → $0.70 |
| Each page, group or search checked on a repeat monitoring run | $0.002 per check |
| Each run | $0.001 |

1,000 posts ≈ **$2.50**. Watching 10 groups twice a day with ~20 new posts a day in total ≈ **$0.60 a month for
new posts plus $1.20 for checks and $0.06 for runs**.

### Get alerts for new group posts

1. Add the groups, switch on **Only new since last run**, and name the schedule in **Monitor name**.
2. Click **Schedule** (hourly or daily).
3. Route new posts to Slack, Discord, email or a CRM with n8n, Make or Zapier (Apify node → *Run an Actor and get
   dataset*). The *API* tab has code examples.

### Good to know

- **Public groups only.** Private groups can't be read without logging in; they return nothing (and cost only the run
  fee).
- Facebook orders group feeds by relevance, not strictly by date. Monitoring still returns each post only once, the
  first time it appears.
- Anonymous posts show no author. Only public information is collected.

### More Facebook tools

- [Facebook Posts Scraper](https://apify.com/headply/facebook-posts-scraper): posts from public pages.
- [Facebook Marketplace Scraper](https://apify.com/headply/facebook-marketplace-scraper): listings and prices.
- [Facebook Reels Scraper](https://apify.com/headply/facebook-reels-scraper): reels of any page.
- [Facebook Video Search Scraper](https://apify.com/headply/facebook-video-search-scraper): videos and reels by keyword.

Something not working as expected? Open the **Issues** tab and we'll take a look.

# Actor input Schema

## `groups` (type: `array`):

Public group names, ids or links (ReactJSDevelopers or https://www.facebook.com/groups/ReactJSDevelopers). Private groups cannot be read without login and return nothing.

## `maxItemsPerTarget` (type: `integer`):

Upper bound for each page, group, Marketplace search or keyword. Results are fetched newest first until this is reached or nothing more is available.

## `contentType` (type: `string`):

Filter page and group posts by type. Filtered-out posts are never charged. ("Page reels" mode always keeps reels only.)

## `onlyNewSinceLastRun` (type: `boolean`):

For schedules. Returns and bills only items not delivered by an earlier run with the same monitor name. The first run delivers the latest items at the standard price; later runs return only new items, at the lower new-item price. For Marketplace, "new" means listed after the previous run. Repeat runs also bill a small fee per page, group or search checked, because the check costs the same whether or not anything is new.

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

Label for this schedule's memory. Runs with the same name share memory; use one name per schedule or client. Change it to start fresh.

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

Any mix of Facebook links, one per line: pages (https://www.facebook.com/nasa), public groups (https://www.facebook.com/groups/ReactJSDevelopers), Marketplace searches (https://www.facebook.com/marketplace/nyc/search?query=bike\&maxPrice=300) and video searches (https://www.facebook.com/search/videos/?q=spacex). Each link is detected and scraped the right way.

## `pages` (type: `array`):

Page or public profile names or links: nasa, @nasa, https://www.facebook.com/nasa or profile.php?id=… links. Returns the newest posts first.

## `searchQueries` (type: `array`):

One search per line. In "Marketplace listings" mode each keyword is a Marketplace search in the location below; otherwise each is a video & reel search across Facebook.

## `mode` (type: `string`):

Decides how keywords are used and what an empty run returns. "Page reels" keeps only reels from the pages. "Marketplace listings" turns keywords into Marketplace searches in the chosen location; every other mode turns keywords into video & reel searches. Links in "Facebook URLs" are always recognized automatically.

## `enrichReels` (type: `boolean`):

Open each reel to add its duration, a direct video file URL and the comment count when the feed lacks them. One extra request per reel; no extra charge.

## `location` (type: `string`):

City as it appears in Marketplace links: facebook.com/marketplace/<this>/… (e.g. nyc, la, chicago, london, sydney, or a numeric location id). Open Marketplace in a browser, pick the city, and copy that part of the link.

## `category` (type: `string`):

Optional. Browse a whole category instead of searching, e.g. vehicles, electronics, furniture, propertyrentals. Used only when no keywords are given.

## `minPrice` (type: `integer`):

Marketplace only. Lowest price, in the location's currency.

## `maxPrice` (type: `integer`):

Marketplace only. Highest price, in the location's currency.

## `daysSinceListed` (type: `string`):

Marketplace only. Keep listings posted within this window.

## `itemCondition` (type: `string`):

Marketplace only.

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

Pages, groups and searches processed in parallel.

## `maxRequestRetries` (type: `integer`):

A target that fails is retried on a fresh connection up to this many times; items already delivered are never repeated or re-charged.

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

Leave as is. Facebook only serves public pages, groups and Marketplace in full to residential addresses, so that is the default.

## Actor input object example

```json
{
  "groups": [
    "ReactJSDevelopers"
  ],
  "maxItemsPerTarget": 20,
  "contentType": "all",
  "onlyNewSinceLastRun": false,
  "monitorName": "default",
  "mode": "groups",
  "enrichReels": false,
  "location": "nyc",
  "daysSinceListed": "any",
  "itemCondition": "any",
  "maxConcurrency": 5,
  "maxRequestRetries": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset with every post, reel, video and listing from this run.

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

Counts per page, group or search, skipped inputs, items skipped as already delivered, request success ratio and bandwidth.

# 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 = {
    "groups": [
        "ReactJSDevelopers"
    ],
    "maxItemsPerTarget": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

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

# Run the Actor and wait for it to finish
run = client.actor("headply/facebook-groups-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 '{
  "groups": [
    "ReactJSDevelopers"
  ],
  "maxItemsPerTarget": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call headply/facebook-groups-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,headply/facebook-groups-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/Kr9qXWePDsa1DRUMp/builds/bdhKQJR9n1LVjpdfu/openapi.json
