# Facebook Posts Scraper

Apify

Collect public Facebook posts from page or profile URLs with post metadata.

## Use this tool with your AI agent

1. Copy the prompt
2. Paste it into your agent
3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Facebook Posts Scraper (tool ID: apify.apify-facebook-posts-scraper). Ask me for the details you need, then show me the result.

**Already connected:** Your agent can use that connection.

**New user:** Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

**Job:** [Get Facebook posts](https://scrollport.com/tools/facebook-post-scraper)

**Current price:** $0.0070/result

**Availability:** Ready to run

## Tool details

**About this tool**

Extract posts, videos, and engagement metrics from Facebook pages. Get text captions, reactions, video transcripts, images, external links, collaborators, and more from Facebook pages and profiles. Export ad data, schedule runs via API, and integrate with other tools or AI workflows.

**Inputs and outputs**

### Input

`input` object · optional

Provider-specific public source, URL or search criteria.

`maxItems` number · optional

Maximum number of records to return.

### Output

`comments` number

Returned comments value.

`facebookUrl` string

Returned facebook url value.

`inputUrl` string

Returned input url value.

`likes` number

Returned likes value.

`pageName` string

Returned page name value.

`postId` string

Returned post id value.

`shares` number

Returned shares value.

`text` string

Returned text value.

`time` string

Returned time value.

`url` string

Returned url value.

`user` object

Returned user value.

**Example request and output**

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

### Request

```
{
  "tool_id": "apify.apify-facebook-posts-scraper",
  "input": {
    "input": {
      "startUrls": [
        {
          "url": "https://www.facebook.com/humansofnewyork/"
        }
      ],
      "resultsLimit": 2
    },
    "maxItems": 2
  }
}
```

### Output

```
{
  "url": "https://www.facebook.com/reel/1564039698724000/",
  "text": "I write him a letter every day.",
  "time": "2026-07-31T19:37:40.000Z",
  "user": {
    "id": "100050429952420",
    "name": "Humans of New York",
    "profileUrl": "https://www.facebook.com/100050429952420"
  },
  "likes": 5384,
  "postId": "1608404244183892",
  "shares": 86,
  "comments": 140,
  "inputUrl": "https://www.facebook.com/humansofnewyork/",
  "pageName": "humansofnewyork",
  "facebookUrl": "https://www.facebook.com/humansofnewyork/"
}
```

**Errors and limitations**

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.

---

Canonical page: https://scrollport.com/tools/providers/apify/apify-facebook-posts-scraper
