# Facebook Group Posts Scraper - Public Groups, No Login (`neverempty/facebook-group-posts-scraper`) Actor

Scrape posts from public Facebook groups without login or cookies: text, date, author name, reactions, comments, shares, photos, videos and links. Newest first, with free date filters. Export to CSV, Excel or JSON. Pay per post.

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

## Pricing

from $2.50 / 1,000 post returneds

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 Groups, No Login

This Facebook group scraper gets the posts of public Facebook groups and exports them to CSV, Excel or JSON, newest first. You paste a group and get each post's text, date, reactions, comments, shares, photos, videos and links, with no login, no cookies and no Facebook account.

Date filters are free, so a daily run is charged for the posts it returns, not for the ones your dates leave out. You pay per post returned, plus a very small charge each time the Actor starts.

### What it does

- **Posts of public groups.** Use the group's address, its name such as `cheapmealideas`, or its number such as `126966114029232`.
- **Newest first.** You can also choose recent activity or top posts.
- **Reactions, comments and shares.** The total of each, plus the count per reaction type where Facebook shows it.
- **Photos, videos and links.** Image and video addresses with their sizes, and the outside link a post shares.
- **Filters by date at no extra charge.** Keep posts newer than a date, `today`, or a period such as `24 hours` or `7 days`, older than a date, or both. Posts outside your dates are not charged.
- **Clear status rows.** If a group gives nothing to return, a free row says why, including when it is private or does not exist.

### What you can use it for

- Follow what people ask and complain about in the groups of your market, and find product ideas in their own words.
- Run the same groups every day with `onlyPostsNewerThan` set to `1 day` and get the latest posts from each one.
- See which posts in a community get the most reactions and comments, and what they have in common.
- Collect posts for sentiment analysis, trend reports or as text for an AI model.

### How to use it

1. Add one or more groups under **Facebook groups**.
2. Set **Posts per group**, and a date range if you want one.
3. Press **Start**, then export the results as CSV, Excel, JSON or through the API.

**Input options**

| Option | What it does |
|---|---|
| `startUrls` | Public group addresses, names or numbers. |
| `resultsLimit` | The most posts to return from each group. If left empty, 50. Up to 2,500. |
| `onlyPostsNewerThan` | Keep posts from this date on: `2026-01-31`, `today`, `yesterday`, `24 hours`, `7 days`, `2 months`. Dates, `today` and `yesterday` start at midnight UTC. |
| `onlyPostsOlderThan` | Keep posts from before this date, in the same forms. |
| `maxItems` | Stop the whole run after this many posts across all groups. |
| `sortBy` | `newest` (the default), `recentActivity` or `top`. `top` is the order Facebook chooses, not most reactions first. Date filters work best with `newest`. |

```json
{
  "startUrls": ["https://www.facebook.com/groups/cheapmealideas/", "126966114029232"],
  "resultsLimit": 100,
  "onlyPostsNewerThan": "7 days"
}
```

### What you get

Each post is one row:

```json
{
  "dataType": "post",
  "facebookUrl": "https://www.facebook.com/groups/126966114029232/",
  "groupId": "126966114029232",
  "groupName": "Cheap Meal Ideas",
  "postId": "1234567890123456",
  "postUrl": "https://www.facebook.com/groups/126966114029232/permalink/1234567890123456/",
  "authorName": "Sample Member",
  "text": "What is your favourite dinner for under five dollars?",
  "time": "2026-10-20T14:00:00.000Z",
  "timestamp": 1792504800,
  "reactionCount": 36,
  "reactions": [{ "type": "Like", "count": 30 }, { "type": "Love", "count": 6 }],
  "commentCount": 18,
  "shareCount": 2,
  "media": [{ "type": "photo", "id": "1111111111", "url": "https://scontent.example/photo.jpg", "width": 1080, "height": 810, "videoUrl": null }],
  "link": null,
  "isSharedPost": false
}
```

`isSharedPost` is `true` when the `text` or `media` comes from a post this post shares; `authorName` is still the person who shared it. A value Facebook did not show is `null`. Rows with `dataType` set to `note` are free and say why something was not returned.

| `reason` | What it means |
|---|---|
| `feed-ended` | The group showed fewer posts than you asked for. |
| `no-results` | No public posts, none in your date range in the part that was read, or the posts were already returned through another address in this run. |
| `no-date` | A post came without a readable date, so it was left out of your date range. |
| `private-group` | Only members can see this group's posts. |
| `not-found` | Facebook shows no group at this address to visitors who are not logged in. |
| `blocked` | Facebook refused this address on this run. Running it again later may work. |
| `unreadable` | The address could not be read on any attempt. |
| `incomplete` | Facebook stopped serving older posts part way, the date range was out of reach, the run stopped early, or `maxItems` ended the run. The row lists the groups not read or cut off. |
| `bad-input` | The input could not be used. Nothing was read. |
| `duplicate` | The same group was given twice. It was read once. |
| `budget-reached` | The run reached its maximum total charge. |
| `stopped-before-time-limit` | The run stopped before its time limit, and lists what was not read. |
| `example-input` | The run started with an empty input, so it read a short example of up to 10 posts, whatever limits were set. This row is free; the posts it returned are charged like any others. |

### What does it cost?

You pay per post returned, plus $0.001 each time the Actor starts. Date filters and order cost nothing extra. Your Apify plan sets the price; on the Free plan, use the Free row.

| Apify plan | Per 1,000 posts |
|---|---|
| Free | $4.75 |
| Bronze | $3.90 |
| Silver | $3.20 |
| Gold | $2.50 |
| Platinum | $1.55 |
| Diamond | $0.90 |

A group that returns no posts adds no charge, whatever the reason. Posts read but left out by your dates are not charged. Set a maximum total charge in the run options, and the Actor stops there and says so.

### Frequently asked questions

**How do I scrape a Facebook group without logging in?**
Paste the group's address under **Facebook groups** and press **Start**. No account or cookies are needed.

**How do I export Facebook group posts to CSV or Excel?**
Every run can be downloaded as CSV, Excel, JSON or HTML, or read through the API.

**How do I get the latest posts from a group every day?**
Set `onlyPostsNewerThan` to `24 hours` and schedule the Actor daily. Posts older than that are not returned or charged.

**Can it read a private group?**
No. A private group gets a free `private-group` row and costs nothing.

**Does it give comment text?**
Each post comes with its comment count. The text of the comments is not included.

**What data do I get for each Facebook group post?**
The post text, date, author name, reaction, comment and share counts, photos, videos and any link the post shares.

**Can I use it from my own code or an AI agent?**
Yes. Start it through the Apify API or the Apify MCP server, and read the rows as JSON.

### Good to know

- **Personal data is your responsibility.** Post text is returned as written and can name people or include their details. The usual Facebook rules and privacy laws such as GDPR apply to what you do with it.
- Each row has the name shown on the post. It does not include the author's ID or profile link.
- This Actor reads only what Facebook shows without logging in. Private groups, personal profiles and Pages are not read.
- Comment text and member lists are not included.
- Video and image addresses stop working after a while, so save a file soon if you need it. Respect the rights of whoever made it.
- Facebook can limit how far back it serves a group's posts. When it stops early, a free `incomplete` row tells you how far the run got.
- An old date is reached by reading from the newest posts, so in an active group `onlyPostsOlderThan` may not get there. When it does not, a free `incomplete` row says so.
- A post that only shares another post comes with the shared post's text and media, marked `isSharedPost: true`. On those rows the words can be someone else's while `authorName` is the person who shared them, so keep them apart when you analyse by author.
- A post with no text, picture or link is left out and not charged.
- `link` is an outside link. Links into Facebook and to chat apps such as WhatsApp are left out.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

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

Public Facebook group addresses, names or numeric IDs, for example https://www.facebook.com/groups/cheapmealideas/, cheapmealideas or 126966114029232. Private groups, personal profiles and Pages are not read: each gets a free row saying why.

## `resultsLimit` (type: `integer`):

The most posts to return from each group. Up to 2500. If left empty, 50.

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

Keep posts from this date on: a date like 2026-01-31 (read as midnight UTC), today or yesterday (from midnight UTC), or a period back from now like "24 hours", "7 days" or "2 months". Posts left out are not charged. Leave empty for no limit.

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

Keep posts from before this date: a date like 2025-12-31 (read as midnight UTC), today or yesterday (from midnight UTC), or a period like "1 year". Old dates are reached by reading from the newest posts, so in an active group they may be out of reach; a free row says so. Posts left out are not charged. Leave empty for no limit.

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

Stop the whole run after this many posts across all groups. Leave empty for no total limit.

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

The order Facebook shows the posts in. If left empty, newest posts first. Top posts is the order Facebook chooses, not most reactions first. Date filters work best with newest posts first; with the other two orders, a date range reads further before it stops.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.facebook.com/groups/cheapmealideas/"
  ],
  "resultsLimit": 20
}
```

# Actor output Schema

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

One row per public group post: text, date, author name, reactions, comments, shares, photos, videos, link and the group. Rows with dataType "note" are free and say why something was not returned.

# 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/"
    ],
    "resultsLimit": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/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 = {
    "startUrls": ["https://www.facebook.com/groups/cheapmealideas/"],
    "resultsLimit": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("neverempty/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 '{
  "startUrls": [
    "https://www.facebook.com/groups/cheapmealideas/"
  ],
  "resultsLimit": 20
}' |
apify call neverempty/facebook-group-posts-scraper --silent --output-dataset

```

## MCP server setup

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