# Export Facebook Page Posts with Engagement Counts

**Use case:** 

Export a public Facebook page's recent posts with reactions, comments and shares for each post. Use it to find a page's best-performing content or report on your own page. Replace the example page with any public page.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/zuck"
    }
  ],
  "maxPosts": 20,
  "scrollDelay": 1500,
  "maxEmptyScrolls": 5,
  "enableDedup": false,
  "refreshWindowDays": 0,
  "debugMode": false,
  "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"
  },
  "shareCount": {
    "label": "Shares",
    "format": "integer"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "pageUrl": {
    "label": "Page URL",
    "format": "string"
  }
}
```

## How it works

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

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

### 2. Start the "Export Facebook Page Posts with Engagement Counts" task

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

### 3. Receive the "Export Facebook Page Posts with Engagement Counts" 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 "Export Facebook Page Posts with Engagement Counts" task via API](https://apify.com/crowdpull/facebook-page-posts-scraper.md).

## FAQ

### What data does the page engagement export task return?

The page engagement export task returns one row per Facebook post: page name, post text, date, post link and reaction, comment and share counts.

### How do I adapt the page engagement export task to my own search?

Save the page engagement export task to your account, then edit its input. Replace the start URLs with any public Facebook pages. Max posts sets how many posts to collect from each page.

### Can the page engagement export task run automatically?

The page engagement export 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 page engagement export task?

The page engagement export 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 Page Posts Scraper — No Login Required](https://apify.com/crowdpull/facebook-page-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crowdpull/facebook-page-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-page-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`).
