# Facebook post scraper for n8n, Make and Zapier

**Use case:** 

A ready-made Facebook post scraper for n8n, Make, Zapier or any script: pass a page or profile URL and a post limit, get the newest posts back as clean JSON with text, date, link, likes, comments, shares and media URLs. Call this task by its ID from the Apify node, on a schedule or via the API and pipe the rows into Google Sheets, a database or an LLM. No login. $2 per 1,000 posts, no start fee.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/TED/"
    }
  ],
  "resultsLimit": 20,
  "captionText": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "pageName": {
    "label": "Page",
    "format": "string"
  },
  "time": {
    "label": "Published (UTC)",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "likes": {
    "label": "Reactions",
    "format": "integer"
  },
  "comments": {
    "label": "Comments",
    "format": "integer"
  },
  "shares": {
    "label": "Shares",
    "format": "integer"
  },
  "viewsCount": {
    "label": "Video plays",
    "format": "integer"
  },
  "link": {
    "label": "Link",
    "format": "string"
  },
  "url": {
    "label": "Post URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook Posts Scraper · No Login · $1.4/1k](https://apify.com/alfalfa/facebook-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/alfalfa/facebook-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/alfalfa/facebook-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`).
