# Facebook Groups Scraper | No Empty Rows | No Login (`h1018y/anvil-facebook-groups-scraper`) Actor

Scrapes public Facebook groups: give it group links and get each newest post's text, author, date, likes, comments, shares and photos as rows. Facebook group posts scraper with the same field names as the most used one, no empty rows and a coverage line per group.

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

## Pricing

from $2.34 / 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 Groups Scraper | No Empty Rows | No Login

**Facebook Groups Scraper** - Get the newest posts of public Facebook groups with the same field names you already use - and never pay for a row with nothing in it.

### What does Facebook Groups Scraper do?

Every post row says what it is (contentType: text, photo, video or link), posts with no text, media or link are dropped and not charged, and each group says how many posts it read and how far back (groupPostsFound, oldestPostTime, groupCoverage).

- Same input and output field names as the most used group scraper (startUrls, resultsLimit, viewOption, onlyPostsNewerThan; text, user, likesCount, commentsCount
- No empty rows: posts without text, media or link are left out and not charged
- contentType on every row (text, photo, video, link), the author's name and group profile link, photos, and Facebook's own date label (timeText)
- Per-group coverage: groupPostsFound, oldestPostTime and groupCoverage say how many posts were read and how far back
- onlyNew for schedules: only posts that are new or whose likes, comments or shares changed since the last run

### Who uses Facebook Groups Scraper, and for what

- Brand and community managers - watch what members post in niche groups every morning
- Market researchers - export group posts to CSV to read real customer questions
- Buy and sell resellers - track new listings with price and location in local groups
- Developers - poll groups via the API with onlyNew and get only new posts

### What this Facebook Groups Scraper does that users of the usual tools ask for

- **No billed rows without text, media or link; reshared posts extracted** - in the `contentType` field
- **Know how far back the run got in each group** - in the `groupCoverage` field
- **A clear count per group instead of a silent empty success** - in the `groupPostsFound` field

#### Switching takes one minute

The input and result field names are the ones the most used Facebook Groups Scraper has, so the input JSON your code already sends works unchanged and your pipeline reads the same fields - plus the new ones above.

### Why this Facebook Groups Scraper?

Low tools fail because their runs come back empty or half-filled on a stranger's first group and they never say why. This Facebook Groups Scraper checks every run and tells you plainly when a page could not be read, instead of returning empty or wrong rows.

### Data you get from Facebook Groups Scraper

Every result is one flat row with these fields (values from a real run):

| Field | Example |
|---|---|
| `facebookUrl` | https://www.facebook.com/groups/874728723021553/ |
| `inputUrl` | https://www.facebook.com/groups/874728723021553/ |
| `groupId` | 874728723021553 |
| `groupTitle` | Maths Formulas |
| `id` | null |
| `legacyId` | 2648186455675762 |
| `feedbackId` | null |
| `url` | https://www.facebook.com/groups/874728723021553/posts/264818... |
| `time` | 2026-10-24T00:00:00.000Z |
| `timestamp` | 1792800000 |
| `timeText` | Oct 24 |
| `text` | Let's welcome our new members! Pawulos Sola, Friah Caz Ochav... |
| `title` | null |
| `contentType` | photo |
| `attachments` | \[{"type": "photo", "thumbnail": "https://scontent-phx1-1.xx.... |
| `isVideo` | false |
| `viewsCount` | null |
| `user` | {"id": "100064396285921", "name": "AllMath", "profileUrl": "... |
| `collaborators` | null |
| `likesCount` | 5 |
| `commentsCount` | 0 |
| `sharesCount` | 0 |
| `topReactionsCount` | null |
| `reactionLikeCount` | null |
| `reactionLoveCount` | null |

### How to use Facebook Groups Scraper

1. Press **Start** - the form already holds an example that works.
2. Put in your own input (see the fields on the Input tab).
3. Run it once, or put it on an **Apify Schedule** (with **only new** on, where the form has it) to get just what is new every day; add a **webhookUrl** to get each run's rows sent to your own system, Zapier, Make or Slack.
4. Download the results as JSON, CSV or Excel, or send them to Google Sheets, Zapier, Make, the Apify API or an AI agent (Apify MCP server).

#### Input example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/groups/874728723021553/"
    }
  ],
  "resultsLimit": 3,
  "viewOption": "CHRONOLOGICAL",
  "onlyNew": false,
  "maxItems": 1000,
  "useApifyProxy": true
}
```

#### Output example (a real run)

```json
[
  {
    "facebookUrl": "https://www.facebook.com/groups/874728723021553/",
    "inputUrl": "https://www.facebook.com/groups/874728723021553/",
    "groupId": "874728723021553",
    "groupTitle": "Maths Formulas",
    "id": null,
    "legacyId": "2648186455675762",
    "feedbackId": null,
    "url": "https://www.facebook.com/groups/874728723021553/posts/2648186455675762/",
    "time": "2026-10-24T00:00:00.000Z",
    "timestamp": 1792800000,
    "timeText": "Oct 24",
    "text": "Let's welcome our new members!\nPawulos Sola,\nFriah Caz Ochave,\nKanaka Vibez,\nRobera Bulti,\nGian Kieffer,\nমুহাম্মদ তারেকুল ইসলাম,\nJoe Jeffrey,\nFrancis Magbanua,\nMath IQ,\nAlwin Gabrielle Veneracion,\nLoujie Pelojero,\nMegan T. Baya,\nJosee Martinez,\nAriane Redondo,\nTJ Camus,\nRheyana Palaming,\nJenard Dave Catas,\nGenny Jenn Sakatti Cariño,\nSolaiman Abdulhakim,\nDavis Harden,\nKiann Tyler Vergara,\nGobind Mahto,\nAlwin Palacpac,\nSiti Jasmin B. Sarip,\nAntoneth Vasquez,\nYohaned Moges,\nPrince Stephan Tuazon,\nMiel Andrie Bayeta,\nFelix Tomoli,\nXhandra Dela Peña,\nLeung Ling,\nCrystal Papna,\nEliah Rose Gayao,\nAnita Upreti,\nRishiram Chauhan,\nBethiba Kay Kombe,\nDhafreill Rose Lood,\nRo Dyina,\nLijalem Deresegn,\nSuphinya Pookong,\nLj Lariosa,\nAudrey Bongot,\nMaliteurakahivai Teahui,\nMegan Dumanas,\nCecilia Miorelli,\nQananisa Dassaleny,\nBetty Gere,\nMæx Wēll K ẞõlö,\nZxeth Kael Mhikaejll,\nJimma Biel Pur,\nNO Balance,\nFitsum Kasa,\nNeii Rutaiti Roota,\nวิทวัส เหลืองบริสุทธิ์,\nLeo Gavriel Valiente Guiab,\nBaldomero Paula,\nAbby Cheps,\nMary Sam,\nSanjida Akter,\nSarah Jane Beciete,\nAziz Jaan,\nZahir Zaman,\nNominjin Urtnasan,\nKalkidan Kal,\nHaina Jane R. Gozano,\nRashana Chaudhary,\nKadir Ahimad,\nDwayne Pahila,\nNyagieth Onok,\nAngelica Borines,\nMenna Younis,\nGremah Ari,\nGenesis Flomo,\nNeil Caballero,\nRegina D'Silva,\nPrincess Heim Salomo,\nMia Matital,\nWirèk Tōssøu,\nKazeleen Hortezano,\nHaniff Camamara,\nAkimbo Khamis,\nBwaako Næn,\nGabriel Queda,\nKichan Yoon,\nVieen Gee,\nJomari Intong,\nKatelyn Aguilar Josol,\nRegina Iledare,\nElai Bacerra,\nUlrich Jamal,\nAndre Cristerr S. Saceda,\nJst May May,\nMirzan Khan,\nTam Abraham,\nJohncel Cardinal,\nVero Cuzo,\nSean Wynn Yalung,\nDec Vabiechhuadau,\nRoni Roni,\nJake Marzo Quilop,\nMonique Talandron,\nMi Chaella,\nNish Shang,\nFanomezana Randriamihamina,\nThor Mercurio,\nNiel Manalang,\nAndriamparany Ramamonjisoa,\nNinaClear Orapa,\nPhuoc Vu,\nMitsuko Karino,\nIofiel Sulit,\nDavid Rio,\nIrinah Rkt,\nBonny 
```

One flat row per result.

### Built for pipelines

- **Field names never change** - fixes and new features only ever add fields, so your code keeps working.
- **Every row has the same shape** - a missing value is `null`, never a dropped field.
- **A plain status line** on every run - how many results, and on a problem what to change in the input - for your logs and for AI agents.
- **Runs on its own** - put it on an Apify Schedule and add a `webhookUrl`: each run's rows go straight to your system, Zapier, Make or Slack.

### How much does Facebook Groups Scraper cost?

You pay only per result (pay per event) - no monthly fee, no minimum, and the price per result is lower on Apify's Bronze, Silver and Gold plans. The exact price is on the **Pricing** tab. Apify's free plan credit is enough to try it on real input.

| You want | What you pay for |
|---|---|
| A quick test with the example | a few results |
| A daily scheduled run | only the rows that run returns |
| A big one-off export | the results delivered - set a maximum in the input |

### Also searched as

- facebook group posts scraper
- facebook group scraper
- scrape facebook group posts
- facebook group monitor
- facebook groups api

### FAQ

**Does Facebook Groups Scraper need a login, cookies or an API key?** No. It reads public pages only.

**Can I run Facebook Groups Scraper on a schedule?** Yes - with Apify Schedules; each run returns fresh rows.

**Can I call it from Python, JavaScript or an AI agent?** Yes - through the Apify API, the Apify client libraries or the Apify MCP server.

**Is it legal?** It collects only data anyone can see without logging in. You are responsible for using it within the source site's terms and data protection law (GDPR, CCPA).

**What if the site blocks a request?** The run retries from a fresh connection and, if it still cannot read the page, stops with a clear message - never with made-up rows.

**Do I need proxies?** No setup needed - Facebook Groups Scraper uses Apify Proxy by default where the site needs it.

### Troubleshooting

- **No results:** check the input (a public URL or a search term that returns results in a normal browser), then try the example input once.
- **Fewer results than expected:** raise the maximum in the input; some sites show only a part of their data without logging in, and Facebook Groups Scraper never logs in.
- **The run stopped with a message:** the message says what the site answered; run it again later or with fewer items.

### Your feedback

Missing a field, found a bug, or need another site? Open an issue on the **Issues** tab - issues are answered and fixed. If Facebook Groups Scraper saved you time, a short review on this page helps others find it.

Data source: [www.facebook.com/groups](https://www.facebook.com/groups/)

### More tools from this developer

- [Tweet Scraper for Twitter & X Posts: By URL, No Login](https://apify.com/h1018y/anvil-tweet-scraper)
- [YouTube Thumbnail Downloader: Bulk, Every Size & Titles](https://apify.com/h1018y/anvil-youtube-thumbnail-downloader)
- [ML Conference Finder: NeurIPS, ICLR & ICML Alternatives](https://apify.com/h1018y/anvil-ml-conference-finder)
- [YouTube Transcript & Captions Scraper: Find Any Word Said](https://apify.com/h1018y/anvil-youtube-transcript-scraper)
- [Facebook Ads Library Scraper & Meta Ad Spy: Only New Ads](https://apify.com/h1018y/anvil-facebook-ads-library-scraper)
- [Twitter Scraper: New Tweets From Any X Account, No Login](https://apify.com/h1018y/anvil-twitter-scraper)
- [Facebook Page & Posts Scraper: New Posts & Engagement Growth](https://apify.com/h1018y/anvil-facebook-posts-scraper)
- [Google Trends Scraper: Rising Searches & Interest by Region](https://apify.com/h1018y/anvil-google-trends-scraper)

# Actor input Schema

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

Public Facebook groups to read, as full links copied from the browser, e.g. https://www.facebook.com/groups/874728723021553/ (m.facebook.com and share links work too).

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

How many of each group's newest posts to return, e.g. 20. A logged-out visitor sees only the newest posts; each group row says how far back it got.

## `viewOption` (type: `string`):

Which feed order to ask Facebook for, e.g. CHRONOLOGICAL (newest first, the result is also sorted by time).

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

Keep only posts after this moment: a date like 2026-10-01 or a span back from now like '3 days' or '2 weeks'. Empty = no limit.

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

Keep only posts before this moment: a date like 2026-11-01 or a span like '1 day'. Empty = no limit.

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

For schedules: return only posts not seen in the last run with the same input, or whose likes, comments or shares changed.

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

Stop after this many posts across all groups, e.g. 100. Keeps a big list of groups cheap and fast.

## `useApifyProxy` (type: `boolean`):

Read the groups through Apify Proxy (recommended): each try comes from a fresh address when Facebook shows a login page.

## `proxyGroups` (type: `array`):

Optional Apify Proxy groups, e.g. RESIDENTIAL when Facebook keeps showing its login page on the default addresses.

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

Optional. An https address - your own system, Zapier, Make or a Slack incoming webhook - that gets each run's results as JSON (with 'only new' on: just the new ones). Example: https://hooks.slack.com/services/T000/B000/XXXX

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/groups/874728723021553/"
    }
  ],
  "resultsLimit": 3,
  "viewOption": "CHRONOLOGICAL",
  "onlyNew": false,
  "maxItems": 1000,
  "useApifyProxy": true
}
```

# Actor output Schema

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

All result rows (open as table, JSON, CSV or Excel).

# 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": [
        {
            "url": "https://www.facebook.com/groups/874728723021553/"
        }
    ],
    "resultsLimit": 3,
    "useApifyProxy": true
};

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

# Run the Actor and wait for it to finish
run = client.actor("h1018y/anvil-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 '{
  "startUrls": [
    {
      "url": "https://www.facebook.com/groups/874728723021553/"
    }
  ],
  "resultsLimit": 3,
  "useApifyProxy": true
}' |
apify call h1018y/anvil-facebook-groups-scraper --silent --output-dataset

```

## MCP server setup

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