# Facebook Groups Scraper & API: Public Group Posts & Search (`s_actors/facebook-groups-scraper`) Actor

Scrape public Facebook groups without login: find groups by keyword, read their posts newest first as deep as Facebook lists them (text, author, time, reactions, comments, shares, photos, links), member counts and descriptions, alerts for new posts.

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

## Pricing

from $1.19 / 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.
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 & API: Public Group Posts & Search

Scrape **public Facebook groups** without a Facebook login or cookies. Paste group links to get each group's **exact member count, creation date, admins, rules, activity and description** plus its **posts, newest first**: text, author, time, **reactions, comments, shares**, photos, videos, shared links and the top comments. Or type **search words** and let the Actor find groups for you.

```json
{ "groupUrls": ["https://www.facebook.com/groups/allremotejobs"], "maxPostsPerGroup": 50, "postKeywords": ["hiring"] }
```

Use it as a **Facebook Groups API**: one call returns clean JSON for every group, word and post.

#### What you get

One row per group and one row per post. Real example, group `allremotejobs` (November 2026):

| Row | Group | Author | Posted | Reactions | Comments | Text |
|---|---|---|---|---|---|---|
| group | 100% Remote Jobs for Digital Nomads and Remote Workers (52,391 members, created 2020-09-24) | | | | | Welcome to the group... |
| post | 100% Remote Jobs for Digital Nomads... | Lindsey Cuevas | 2026-10-29 | 0 | 0 | Any digital nomads here looking for an additional income stream... |
| post | 100% Remote Jobs for Digital Nomads... | Jam Forootan | 2026-10-19 | 0 | 1 | NOW HIRING: APPOINTMENT SETTER / CLOSER, Commission Only, Remote... |
| post | 100% Remote Jobs for Digital Nomads... | Aline Ferreira | 2026-10-19 | 1 | 0 | Hi everyone! I'm Aline, a Brazilian digital nomad, virtual assistant... |

| Field | Description |
|---|---|
| `name`, `url`, `id`, `slug`, `privacy`, `isPublic` | The group, its link and whether it is public |
| `members`, `membersText`, `newMembersText`, `adminCount` | Exact member count (`52391`), as Facebook shows it (`52.4K members`), new-member trend, number of admins |
| `postsLastDay`, `postsLastMonth`, `createdAt` | How active the group is and when it was created |
| `description`, `rules`, `location`, `coverImage` | Full description, every group rule with its title, location, cover photo |
| `text`, `headline`, `time`, `url` (post) | The post's full text, the "X is feeling..." line, publication time, link |
| `authorName`, `authorId` | Who wrote it |
| `reactions`, `comments`, `shares` | Counts shown under the post |
| `photos`, `videos`, `linkUrl`, `linkTitle`, `linkSource` | Attached media and the shared link |
| `topComments` | Up to 3 comments Facebook shows under the post |
| `sourceType`, `searchQuery`, `searchPosition`, `sourceUrl` | Which link or search word found the group |
| `isNew`, `firstSeenAt` | Compared with earlier runs of the same input |

Group data works for **private groups too** (name, exact members, rules, activity, description). **Posts are only available for public groups**: Facebook shows private-group posts to members only.

#### How it works

1. Add **group links** (`facebook.com/groups/allremotejobs`, a name or a numeric id) and / or **search words**
2. Set **max posts per group**, optional **keywords**, a **since date** and the post order
3. Run: open the **Groups and posts** view, export to CSV / Excel / JSON, or connect a Google Sheet, Slack or a webhook

| Input | What it does |
|---|---|
| **Facebook groups** | The group's data row and its posts, newest first |
| **Search words** | Finds groups through Google (Facebook's own group search needs a login): about 1-3 groups per Google page, 10-25 per word. Pick the Google country for the language of the groups |
| **Max posts per group** | Default 20, up to 5,000. `0` = group data only |
| **Post keywords** | Keep only posts with every word of a line (`hiring developer`). Skipped posts are free |
| **Posts since** | Only posts written on or after a day; newest-first order stops reading there |
| **Post order** | Newest first, or recent activity as in the group's own feed |
| **Group data** | On by default; off = posts only |
| **Only new posts** | Alerts: return only posts this input has not returned before |

#### Why this Actor

| | |
|---|---|
| 🔓 **No login, no cookies** | Your Facebook account is never used or put at risk |
| 📝 **Posts with counts** | Reactions, comments and shares on every post, not just the text |
| 📊 **Group intelligence** | Exact members, posts per day and month, creation date, admins, rules |
| 🔔 **New-post alerts** | Every run remembers its posts: `isNew` on every row, or only new ones with one switch |
| 🎯 **Keyword and date filters** | Pay only for posts that match: skipped posts are free |
| 💰 **Low price** | $1.49 per 1,000 posts, no extra fee for media, comments or proxies |

#### Alerts for new posts

1. Add the groups you watch (jobs, leads, buy and sell, competitors) and your keywords
2. Turn on **Only new posts**
3. Save as a task and schedule it (hourly or daily). Add an integration: email, Slack, Google Sheets, Telegram through Zapier or Make, or a webhook

The first run returns the current posts and remembers them; every next run returns only posts that appeared since. The history is kept per input in your account (key-value store `facebook-groups-history`, the last 50,000 posts).

#### Pricing

Pay per event. Apify Scale and Business plans pay less:

| Event | Free and Starter plans | Scale plan | Business plan |
|---|---|---|---|
| Run start | $0.001 | $0.001 | $0.001 |
| Post | $0.00149 | $0.00134 | $0.00119 |
| Group | $0.00189 | $0.0017 | $0.00151 |
| Google search page (only with search words) | $0.004 | $0.0036 | $0.0032 |

| Task | Cost |
|---|---|
| 100 posts of one group with group data | ~$0.15 |
| 1,000 posts (10 groups × 100) | ~$1.51 |
| Hourly alert for one group with ~5 new posts a day, for a month | ~$24 |
| 20 groups found by one search word (about 10 Google pages), data only | ~$0.08 |

Repeats, posts skipped by filters and posts skipped by **Only new** are free.

#### FAQ

**How do I scrape a Facebook group?** Paste the group link and run. Open the **Groups and posts** view and export.

**Can I scrape private groups?** Only their public information: name, exact member count, rules, activity, description. Posts of private groups are visible to members only, so the Actor does not return them.

**How many posts can I get from one group?** As many as Facebook lists to a visitor who is not logged in, newest first. In tests this was 66 to 106 posts per group; very active groups may give more, so use **Posts since** and run on a schedule with **Only new posts** to follow a group over time.

**Why do search words find only a few groups?** Facebook's group search needs a login, so groups are found through Google, which lists 1-3 groups per result page. Use several related words, or paste known group links.

**Do I get the members list or comments?** No: Facebook shows members and full comment threads to logged-in members only. You get the exact member count and the top comments Facebook shows under each post.

**Does Facebook have a groups API?** The official Graph API for groups was shut down. This Actor works for any public group without an access token.

**Do I need a Facebook account?** No. The Actor reads groups the way Facebook shows them to a visitor who is not logged in.

#### Use with the API and AI agents

Run it via the [Apify API](https://docs.apify.com/api/v2) from Python, Node.js, n8n or any HTTP client, or connect it to Claude, ChatGPT and other AI agents through the [Apify MCP server](https://mcp.apify.com): "Show new hiring posts from this Facebook group since Monday".

#### Other Facebook tools

| Tool | What it does |
|---|---|
| [Facebook Page Scraper](https://apify.com/s_actors/facebook-page-scraper) | Exact followers, email, phone, website, page creation date, ads status and last post of any page |
| [Facebook Page Search](https://apify.com/s_actors/facebook-page-search-scraper) | Facebook business pages by keyword and city, with exact followers, email, phone and address |
| [Facebook Events Scraper](https://apify.com/s_actors/facebook-events-scraper) | Public events by city, keyword or Page: dates, venues, addresses, organizers, tickets |
| [Facebook Marketplace Scraper](https://apify.com/s_actors/facebook-marketplace-scraper) | Marketplace listings by keyword and city, new listing and price drop alerts |
| [Facebook Video Transcript](https://apify.com/s_actors/facebook-video-transcript) | Transcripts of Facebook videos and Reels: Facebook captions or AI, SRT and VTT |
| [Facebook Ads Library Scraper](https://apify.com/s_actors/meta-ads-library-scraper) | Meta Ad Library: ads, platforms, dates, spend and impressions |

#### Is it legal?

The Actor reads only public groups that Facebook shows to any visitor, without logging in. Author names are public profile data; handle personal data in line with GDPR and other privacy laws, and use the data for research, monitoring and lead generation in line with Facebook's terms.

# Actor input Schema

## `groupUrls` (type: `array`):

One per line: a group link (facebook.com/groups/allremotejobs), its name or its numeric id. You get the group's data and its posts, newest first. Only public groups show posts without a login; a private group returns its name, member count and description only.

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

Optional, one per line ("remote jobs", "yoga berlin", "used cars"). Facebook's own group search needs a login, so groups are found through Google: expect 1-3 groups per Google result page, 10-25 per word. Each found group is then read like the links above.

## `country` (type: `string`):

The Google market the search words are asked in. Use the language of the groups you look for (for example Germany with German words).

## `maxGroupsPerQuery` (type: `integer`):

Stops the search for one word at this many different groups. Google lists about 10 pages, so a word rarely gives more than 25-30.

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

Posts of every public group, newest first. 0 = group data only, no posts. Posts skipped by the filters below are not counted and not charged.

## `postOrder` (type: `string`):

Newest = by the time the post was written. Recent activity = a post that just got a comment moves up, as in the group's own feed.

## `postsSince` (type: `string`):

Only posts written on or after this day (YYYY-MM-DD). With newest-first order the group is read only back to this day.

## `postKeywords` (type: `array`):

Optional filter, one per line: keep only posts whose text has every word of a line ("hiring developer", "for sale iphone"). Any line may match. Skipped posts are free.

## `includeGroupDetails` (type: `boolean`):

Return one row per group: name, link, exact members, privacy, posts in the last day and month, creation date, admins, rules, description, cover image. Off = posts only.

## `onlyNew` (type: `boolean`):

Return only posts this input has not returned before. The first run returns everything and remembers it. Every post has isNew and firstSeenAt either way.

## `debugLog` (type: `boolean`):

Log every request attempt (for support).

## Actor input object example

```json
{
  "groupUrls": [
    "https://www.facebook.com/groups/allremotejobs"
  ],
  "country": "us",
  "maxGroupsPerQuery": 20,
  "maxPostsPerGroup": 20,
  "postOrder": "newest",
  "includeGroupDetails": true,
  "onlyNew": false,
  "debugLog": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Every row, groups and posts together: group, members, text (a post, or the group description), time (posted, or group created), link. The other views show one kind of row.

## `groups` (type: `string`):

One row per group: name, members, privacy, activity, creation date, description, link.

## `rules` (type: `string`):

Members, admins, rules and the newest-member trend of each group.

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

One row per post: text, author, time, reactions, comments, shares, media, link.

## `new` (type: `string`):

Whether each post is new since the previous run of the same input.

## `all` (type: `string`):

Every field of every row.

# 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 = {
    "groupUrls": [
        "https://www.facebook.com/groups/allremotejobs"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("s_actors/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 '{
  "groupUrls": [
    "https://www.facebook.com/groups/allremotejobs"
  ]
}' |
apify call s_actors/facebook-groups-scraper --silent --output-dataset

```

## MCP server setup

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