# Scrape Posts from a Public Figure's Facebook Profile

**Use case:** 

Collect recent posts from a public figure's Facebook profile with post text, date, link and reaction, comment and share counts. Useful for media monitoring and research. Replace the example with any public profile.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/zuck"
    }
  ],
  "maxPosts": 20,
  "includeProfileInfo": true,
  "scrollDelay": 2000,
  "maxEmptyScrolls": 5,
  "enableDedup": false,
  "refreshWindowDays": 0,
  "debugMode": false,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "type": {
    "label": "Record Type",
    "format": "string"
  },
  "name": {
    "label": "Profile Name",
    "format": "string"
  },
  "profileName": {
    "label": "Profile Name on Post",
    "format": "string"
  },
  "text": {
    "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"
  },
  "profileUrl": {
    "label": "Profile URL",
    "format": "string"
  }
}
```

## How it works

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

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

### 2. Start the "Scrape Posts from a Public Figure's Facebook Profile" task

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

### 3. Receive the "Scrape Posts from a Public Figure's Facebook Profile" 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 record type, profile name, profile name on post, 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 a Public Figure's Facebook Profile" task via API](https://apify.com/crowdpull/facebook-profile-scraper.md).

## FAQ

### What data does the public figure posts task return?

The public figure posts task returns one row per Facebook post: author, post text, date, post link and reaction, comment and share counts.

### How do I adapt the public figure posts task to my own search?

Save the public figure posts task to your account, then edit its input. Replace the start URL with any public Facebook profile. Max posts sets how many posts to collect.

### Can the public figure posts task run automatically?

The public figure 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 public figure posts task?

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