# Scrape Posts from Facebook Buy and Sell Groups

**Use case:** 

Collect recent posts from public Facebook buy-and-sell groups with author, post text, date, link and engagement counts. Useful for resellers and local deal tracking. Replace the example groups with any public groups.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/groups/buyselltradegroup/"
    },
    {
      "url": "https://www.facebook.com/groups/flippingforprofit/"
    }
  ],
  "maxPosts": 20,
  "sortOrder": "CHRONOLOGICAL",
  "minComments": 0,
  "minReactions": 0,
  "includeTopComments": false,
  "scrollDelay": 1500,
  "maxEmptyScrolls": 5,
  "enableDedup": false,
  "refreshWindowDays": 0,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "authorName": {
    "label": "Author Name",
    "format": "string"
  },
  "postText": {
    "label": "Post Text",
    "format": "string"
  },
  "timestamp": {
    "label": "Timestamp",
    "format": "string"
  },
  "reactionCount": {
    "label": "Reactions",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "groupUrl": {
    "label": "Group URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Facebook Group Posts Scraper — No Login Required Actor is ready to run with the inputs already set for "Scrape Posts from Facebook Buy and Sell Groups". [Sign up or log in](https://console.apify.com/create-task-from-example/Ter0IXZdYcjI7k6bU) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape Posts from Facebook Buy and Sell Groups" task

The Facebook Group Posts Scraper — No Login Required Actor will start running based on the input automatically. You can also change all the input fields, like 🔗 facebook group urls, ✍️ number of posts, and more, to match your specific use case.

### 3. Receive the "Scrape Posts from Facebook Buy and Sell Groups" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as author name, post text, timestamp, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Scrape Posts from Facebook Buy and Sell Groups" task via API](https://apify.com/crowdpull/facebook-group-posts-scraper.md).

## FAQ

### What data does the buy and sell group posts task return?

The buy and sell group posts task returns one row per Facebook group post: author, post text, date, post link and reaction and comment counts.

### How do I adapt the buy and sell group posts task to my own search?

Save the buy and sell group posts task to your account, then edit its input. Replace the start URLs with any public Facebook groups. Private groups are skipped because the task runs without a login.

### Can the buy and sell group posts task run automatically?

The buy and sell group posts task can run on an Apify schedule and send results to Google Sheets, Slack, Zapier, Make, n8n or a webhook. Turn on Smart Scrape so each scheduled run delivers only posts it has not sent before.

### Do I need an account or login for the site to run the buy and sell group posts task?

The buy and sell group posts task needs only an Apify account. It reads publicly visible pages, so you never enter a login or cookies for the site being scraped.

## About this Actor

This example demonstrates how to use [Facebook Group Posts Scraper — No Login Required](https://apify.com/crowdpull/facebook-group-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crowdpull/facebook-group-posts-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/crowdpull/facebook-group-posts-scraper.md

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`).
