# Facebook Reactions Scraper: Likes and Who Reacted (`automation_craft/facebook-reactions-scraper`) Actor

Scrape who reacted to public Facebook posts, photos, videos, reels, group posts and comments, no login. Each row is one person or Page: name, id, profile link, picture where shown and reaction (like, love, care, haha, wow, sad, angry), plus exact totals per type. CSV, Excel, API. Pay per reactor.

- **URL**: https://apify.com/automation_craft/facebook-reactions-scraper.md
- **Developed by:** [Automation Craft](https://apify.com/automation_craft) (community)
- **Categories:** Social media, Lead generation, Marketing
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 20 total users, 10 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.90 / 1,000 reactors

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

### Facebook Reactions Scraper: Likes and Who Reacted

**Facebook reactions scraper for public posts, photos, videos, reels, group posts and comments, with no login and no cookies.** Paste post links and get one row per person or Page who reacted, as Facebook shows them to any visitor: name, Facebook id, a profile link, the picture where Facebook gives one, and the reaction (like, love, care, haha, wow, sad or angry). Each post or comment also gets a free row with Facebook's exact totals per reaction type next to the names it showed, so you always know how complete a list is. Pay per reactor, from $1.90 per 1,000.

#### What it is for

- **Page owners and community managers**: list who liked or loved a post to thank them, invite them to like your Page, or draw a giveaway winner from the names.
- **Marketers**: build an audience list from the people who react to your posts or to the posts of pages in your niche.
- **Agencies**: review who reacts to a page's posts, with each reactor's id and profile link, to spot reactions that look bought.
- **Researchers**: collect who reacted to a set of public posts, with the reaction type and the post's own totals, in one table.

### Quick start

1. Paste one or more links into **Post or comment links**: a page post, a pfbid link, a photo, a video, a reel, a public group post, a share link or an `fb.watch` link. Add `?comment_id=<number>` to a post link to get who reacted to that comment.
2. Optional: pick **Reaction types** (empty means all seven) and set **Reactors per post or comment** (10 in the form; empty means every name Facebook shows).
3. Click **Start**.
4. Download the rows as JSON, CSV or Excel, or read them through the API.

### What you get

One row per person or Page who reacted (`type: "reactor"`), the Reactor event:

| Field | What it holds | Filled on the platform run (2026-11-11) |
|---|---|---|
| `reactorName` | the name of the person or Page, as Facebook shows it | 100 percent |
| `reactorId`, `reactorIdKind` | Facebook's id of the reactor: a `pfbid` id or a number | 100 percent (pfbid 76 percent, numeric 24 percent) |
| `reactorIdUrl` | a profile link by id (`https://www.facebook.com/profile.php?id=<reactorId>`): it opens the profile for a logged in visitor and redirects logged out where the profile is public | 100 percent |
| `reactorUrl` | Facebook's public profile link, where it gives one | 34.9 percent |
| `reactorPictureUrl` | the profile picture at 40, 80, 120 or 160 px (`pictureSize`, 120 by default) | 63.2 percent |
| `reactorType` | Facebook's own type of the reactor (logged out it answers `User` for people and Pages alike) | 100 percent |
| `reaction`, `reactionLabel`, `reactionIconUrl` | `like`, `love`, `care`, `haha`, `wow`, `sad` or `angry`, its label and Facebook's icon of it | 100 percent |
| `positionInType` | the reactor's place in Facebook's list of that reaction type (1 is first) | 100 percent |
| `targetType` | `post` or `comment`: what the person reacted to | 100 percent |
| `postId`, `postUrl`, `postKind` | the post, its own link and its kind (`post`, `group_post`, `photo`, `video`, `video_post` or `reel`) | 100 percent |
| `commentId`, `commentUrl` | the comment, for a comment link | on comment rows |
| `postAuthorName`, `postAuthorId`, `postCreatedAt` | who published the post and when (UTC) | 100 percent |
| `targetReactionCounts`, `targetReactionsTotal` | Facebook's exact totals per reaction type of the post or comment, and their sum | 100 percent |
| `inputUrl`, `position`, `fromProfile` | the link you gave, its place in your list, and the profile it came from for a profile walk | 100 percent (`fromProfile` on profile walk rows) |
| `targetId`, `feedbackId`, `scrapedAt` | the target's id, Facebook's key of its reaction list, and when the row was made | 100 percent |

The fill rates are counted over the 1,982 reactor rows of one platform run of 70 public posts of 70 different pages, profiles and groups (page posts, group posts and reels). The profile link and the picture come only with the first 10 names of each reaction type, which is why they are below 100 percent.

A short reactor row (made up values):

```json
{
  "type": "reactor",
  "reactorName": "Jane Example",
  "reactorId": "pfbid02Xk7ExampleQw9Lm3Rt5Yb8Nc1Vd4Fg6Hj",
  "reactorIdKind": "pfbid",
  "reactorIdUrl": "https://www.facebook.com/profile.php?id=pfbid02Xk7ExampleQw9Lm3Rt5Yb8Nc1Vd4Fg6Hj",
  "reactorUrl": "https://www.facebook.com/jane.example.42",
  "reactorPictureUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-1/example_n.jpg",
  "reactorType": "User",
  "reaction": "love",
  "reactionLabel": "Love",
  "positionInType": 3,
  "targetType": "post",
  "postId": "1234567890123456",
  "postUrl": "https://www.facebook.com/examplebakery/posts/pfbid0Example",
  "postKind": "post",
  "postAuthorName": "Example Bakery",
  "postCreatedAt": "2026-11-02T09:15:00.000Z",
  "targetReactionCounts": { "like": 412, "love": 96, "care": 7, "haha": 3, "wow": 2, "sad": 0, "angry": 0 },
  "targetReactionsTotal": 520,
  "inputUrl": "https://www.facebook.com/examplebakery/posts/pfbid0Example"
}
```

A **post row** per post or comment (`type: "post"`, free): `reactionCounts` (Facebook's exact totals per type), `reactionsTotal`, `namesShownByType` and `namesShown` (how many names Facebook showed), `reactorsDelivered`, `coverage`, `coverageNote`, `displayStrategy` and `facebookExplanation` (Facebook's own sentence when it hides names). When the post or comment billed at least one reactor, the row also carries the post's details: `text`, `createdAt`, the author (`authorName`, `authorId`, `authorUrl`), `commentCount`, `shareCount`, `playCount`, `viewCount`, `photos` and `video`. `coverage` is one of:

- `complete`: every person Facebook counts for the types asked for is named.
- `preview`: Facebook names at most 19 people per reaction type to logged out visitors, and this post has more.
- `names_hidden`: Facebook shows the totals but no names (posts of big media pages and public figures). No reactor is charged for it (the post row is free).
- `no_reactions`, `capped` (your per post cap was reached), `partial` (Facebook did not answer one type's list) or `cut` (the run's reactor cap or charge limit was reached).

On the platform run, the 68 posts read were `preview` 33, `complete` 20, `names_hidden` 14 and `no_reactions` 1; a post with names delivered a median of 27 reactors and at most 119.

**Status rows** (`type: "status"`, free) name every link that could not be read and why: `post_not_available`, `login_required`, `not_a_post`, `post_unresolved`, `comment_not_found`, `duplicate`, `lookup_failed`, `link_not_read` or `skipped` (two of the 70 links of the platform run were no longer available). A profile walk writes a **walk list row** (`type: "walk_list"`, free) with the posts it found and their positions before it reads them, and a **profile row** (`type: "profile"`, free) once they are read; a **summary row** (`type: "summary"`, free) closes every run with its counters.

#### Why Facebook names fewer people than it counts

Facebook shows a logged out visitor at most 19 names per reaction type, so up to 133 names on one post, and gives a profile link and a picture for the first 10 names of each type. The next pages of the list are closed to logged out visitors. On posts of big media pages and public figures Facebook shows the totals only. This Actor reads all of what Facebook shows, and the post row puts the exact totals next to the names delivered.

### How much does it cost to scrape Facebook reactions?

Pay per event: you pay the Actor start once per run and each reactor delivered, nothing for anything else.

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| Reactor (per 1,000 people or Pages who reacted) | $2.66 | $2.43 | $2.20 | $1.90 |
| Actor start (per run) | $0.01 | $0.01 | $0.01 | $0.01 |

Platinum and Diamond plans pay the Gold price. The Actor start has no discount; it is charged once per run, per GB of run memory (a 256 MB run pays one). The Store pricing card shows these same prices per 1,000 events: "$1.90 / 1,000" on the Reactor row means one reactor costs 0.19 cents on the Gold plan.

Examples:

- 1,000 reactors on the Gold plan: $1.90 + $0.01 = **$1.91**.
- One post of 60 named reactors on the Free plan: 60 x $0.00266 = $0.16, plus $0.01 = **about $0.17**.
- The platform run above (70 posts, 1,982 reactors) on the Gold plan: $3.77 + $0.01 = **about $3.78**.
- A post whose names Facebook hides: **$0.01** (the start only).

Free, always: post rows, status rows, walk list rows, profile rows, the summary, posts whose names are hidden, links that cannot be read, duplicates, and the rows of the sample run of an empty input (one post, its first 10 reactors, no Reactor charge; that run still pays its start). A person is charged once per post or comment per run, however many of your links name it.

### Input

| Field | What it does |
|---|---|
| `postUrls` | links of public posts, photos, videos, reels, group posts, permalink and story links, share links, `fb.watch` and `m.facebook.com` links (up to 5,000). A post link with `?comment_id=<number>` reads who reacted to that comment |
| `reactionTypes` | only these reactions: any of `like`, `love`, `care`, `haha`, `wow`, `sad`, `angry` (empty: all). Other types are not read and not charged |
| `maxReactorsPerPost` | at most this many reactor rows per post or comment, in Facebook's order (the most frequent reaction type first). Empty: every name Facebook shows |
| `maxReactors` | stop the run after this many reactor rows in all |
| `pictureSize` | `40`, `80`, `120` (empty) or `160` px for `reactorPictureUrl` |
| `profileUrls` | pages or profiles (links or names, up to 200) whose newest posts or reels to read (JSON input) |
| `profileContent` | `posts` (empty) or `reels` for the profile walks (JSON input) |
| `maxPostsPerProfile` | how many of each profile's newest posts or reels to read (empty: 10) (JSON input) |
| `proxyConfiguration`, `proxyUrls` | your own proxy addresses, used instead of the Apify proxies (optional, secret). Residential groups picked in the proxy setting are not used |
| `maxConcurrency` | how many links are read at once (empty: 4, at most 8) |

Example:

```json
{
  "postUrls": [
    "https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl"
  ],
  "reactionTypes": ["like", "love"],
  "maxReactorsPerPost": 50,
  "pictureSize": "160"
}
```

#### Profile walks

Give `profileUrls` instead of (or next to) post links, and the Actor lists each profile's newest posts, or its reels with `"profileContent": "reels"`, up to `maxPostsPerProfile`, and reads their reactors like pasted links. Each walk ends with a free profile row. Reading that bills nothing (posts whose names are hidden, dead links) is bounded per run: a run that meets many such posts in a row stops early and lists the links it did not read in a free `skipped` row. A profile whose posts all hide names stops this way after a few posts.

### Real-time API (server interface)

This Actor is also a Server Actor (server mode): next to the input interface above (normal runs) it answers plain HTTP requests in real time, with no run to start and no dataset to read. Send one Facebook post link, get back who reacted to it in the response. Use it inside your own app, an automation step or an AI agent that needs the reactors of one post now.

Copy the server URL from the **Server** tab of the Actor page (it looks like `https://automation-craft--facebook-reactions-scraper.apify.actor`) and send your Apify token in the `Authorization: Bearer` header, the same way as for the Apify API.

| Endpoint | What it does |
|---|---|
| `GET /reactions?url=<one post link>` | Who reacted to one public Facebook post, photo, video, reel, group post or comment. Returns the target row and one row per person or Page who reacted, the same fields as the dataset rows of the input interface. |
| `GET /` | A short JSON description of the endpoint, the limits and the charges. Free. |

`GET /reactions` takes these query parameters:

| Parameter | Value |
|---|---|
| `url` (required) | One link, URL encoded: a post (`facebook.com/<page>/posts/<number or pfbid>`), a group post, a permalink or story link, a photo, a video (`/watch/?v=...`), a reel (`/reel/...`), a share link (`/share/p/...`, `fb.watch/...`), or a post link with `comment_id=<number>` (and `reply_comment_id=<number>`) for a comment. |
| `types` | Reaction types to read, comma separated: `like`, `love`, `care`, `haha`, `wow`, `sad`, `angry`. Default: every type. |
| `limit` | At most this many reactors, 1 to 133. Default: every name Facebook shows. |
| `pictureSize` | Profile picture size in pixels: `40`, `80`, `120` or `160`. Default `120`. |

```bash
curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  "https://automation-craft--facebook-reactions-scraper.apify.actor/reactions?url=https%3A%2F%2Fwww.facebook.com%2Fkoreanophiles%2Fposts%2Fpfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl&limit=5"
```

The response (shortened):

```json
{
  "target": {
    "type": "post",
    "targetType": "post",
    "targetId": "1564675289033731",
    "reactionCounts": { "like": 2209, "love": 3446, "care": 168, "haha": 20, "wow": 13, "sad": 0, "angry": 0 },
    "reactionsTotal": 5856,
    "namesShownByType": { "like": 0, "love": 19, "care": 0, "haha": 0, "wow": 0, "sad": 0, "angry": 0 },
    "reactorsDelivered": 5,
    "coverage": "capped",
    "complete": false
  },
  "reactors": [
    { "type": "reactor", "reactorName": "...", "reactorId": "...", "reactorUrl": "https://www.facebook.com/...", "reaction": "love", "positionInType": 1, "targetId": "1564675289033731" }
  ],
  "charged": { "reactor": 5, "api-request": 1 }
}
```

Facebook shows logged out visitors at most 19 names per reaction type (133 for a post); the target row says how many it named per type and whether the list is complete. When Facebook hides the names (`namesHidden: true`), counts no reaction, or names nobody of the types you asked for, `reactors` is empty and the request is free.

Anything else is a JSON error with an HTTP status: `{"error": {"type": "post-not-available", "message": "..."}, "row": { ...the free status row... }}`. `400` means the url is missing, is not exactly one link of a single post, photo, video, reel, group post, permalink, share link or comment, or is longer than 2,000 characters, or an option is not one of the values above or is sent twice; `402` the platform refused the request event of your last three requests (for example because a spending limit of your account is reached), so your requests pause for up to ten minutes on that server run; `404` Facebook says the post is not available, asks for a login to show it, or does not show the comment the link names; `422` the link is a page, profile or group home link, or a photo that is one of several of a post, not a single post; `429` too many requests from your account at once (one server run takes 60 requests a minute and 3 at a time from one account; wait for the seconds in `Retry-After`); `502` Facebook did not answer the post or its reaction list (try again); `503` the server is busy, restarting, or the charge was not accepted (no reactor is returned without its charge); `504` the request took too long. An error response charges nothing, with two exceptions that say so themselves: `503` with the type `charge-unconfirmed` means the platform did not confirm the charge, so no reactor was returned although the charge may have been recorded once, and `500` with the type `internal-error-after-charge` means the request failed on our side after its charge. Report either through the Issues tab with the `X-Actor-Request-ID` response header. A response arrives within 105 seconds at most.

The `X-Charged-Events` response header and the `charged` field say what the request charged, for example `reactor=5; api-request=1`. A value of `unconfirmed` means the platform did not confirm that charge. On a `200` response the rows it stands for were delivered; on the `503` named above (`reactor=unconfirmed`) no row was returned.

On the platform (2026-11-11), a request that found no server run up answered in 5 to 26 seconds with 10 reactors, the run's start included; most of that time is Facebook's own answers, and a request that reads every name of a post (up to 133) takes longer than one with a small `limit`. A link is read when the whole value is one link of the kinds above. The real-time API is stricter than the input form: a value that only contains a link somewhere in a longer text, holds two links, or names two different posts is refused, not a guess.

Every request reads one link with the default options of the input interface for everything except `types`, `limit` and `pictureSize`. Profile walks (`profileUrls`), `maxReactors`, your own proxies and the other options of the input interface are not available here: a request that sends any other parameter is refused with `400`, never run without it.

#### How much does a real-time request cost?

You pay per request and only for what the response delivers. There is no Actor start event on the server interface and you pay no platform usage: the server runs on our side.

| Event | FREE | BRONZE | SILVER | GOLD |
|---|---|---|---|---|
| Real-time API request (event `api-request`, once per request that delivers at least one reactor) | $0.001 | $0.001 | $0.001 | $0.001 |
| Reactor (per reactor row delivered) | $2.66 / 1,000 | $2.43 / 1,000 | $2.20 / 1,000 | $1.90 / 1,000 |

Worked example on the BRONZE tier: a request that delivers 5 reactors costs $0.001 + 5 x $0.00243 = $0.01315; one that delivers a post's 89 named reactors costs $0.001 + 89 x $0.00243 = $0.21727. A request that delivers no reactor (hidden names, no reactions, not found, invalid, blocked) is free. Platinum and Diamond plans pay the Gold price.

#### When to use the input interface instead

For lists and profiles, use the input interface (start a run): it takes up to 5,000 links and 200 profiles per run, walks a page's newest posts or reels, writes a dataset you can export, caps the whole run with `maxReactors`, and has no Real-time API request event. The server interface is for one post within seconds.

### FAQ

#### How do I see who reacted to a Facebook post?

Paste the post's link and run the Actor: each person or Page Facebook names becomes a row with the reaction type, name, id and a profile link. For a comment, add `?comment_id=<number>` to the post link.

#### How do I export the people who liked a Facebook post to Excel or CSV?

Run the Actor with your post links, open the run's dataset and download it as CSV, Excel or JSON. Set **Reaction types** to `like` to keep only the likes; each person is one row, delivered once per post.

#### Why does it not return every person who reacted?

Facebook shows a logged out visitor at most 19 names per reaction type (up to 133 per post) and closes the rest of the list, and on posts of big media pages and public figures it shows the totals only. The free post row gives Facebook's exact totals per type, the names shown and a `coverage` value, so you know which lists are complete; on the platform run 20 of 68 posts were.

#### Can I pick a giveaway winner from the people who reacted?

Yes, from the names Facebook shows: the rows are a list of reactors with their profile links to draw from. On a post with more than 19 reactions of one type, only the first 19 of that type are named, and the post row's `coverage` says so.

#### Can I scrape Facebook likes without logging in?

Yes. This Actor reads only what Facebook shows any visitor of a public post, with no login, no cookies and no account. Posts of private groups or shown only to members get a free `login_required` row.

#### Why does this Actor run with limited permissions?

It needs only its own storages: the run's dataset and key-value store. Limited permissions keep it from reading or writing anything else in your account, and it opens no named store.

### What this Actor does NOT do

- **No login, no cookies, no private content**: posts in private groups and posts shown only to members are not read (a free `login_required` row).
- **No names past Facebook's logged out preview**: at most 19 names per reaction type; the next pages of the list are closed to logged out visitors.
- **No names on posts that hide them**: Facebook shows only totals there, and the Actor delivers those totals in a free post row.
- **No reaction time**: Facebook's reaction lists carry no time.
- **No bio, work or other profile facts**: the reaction lists carry the name, id, profile link and picture only.
- **No memory across runs**: every run reads each link afresh, so a later run returns (and bills) the same people again.
- **No Apify residential groups from the proxy setting**: the post pages and reaction lists answer on the Apify datacenter pool, and a post whose names are hidden, read on residential exits, would cost money and bill nothing. Your own proxy addresses are used.
- **No reactors of one photo of a multi photo post**: its own reactions are not on the post's page logged out (a free `post_unresolved` row); paste the post's link instead.
- **No page, profile or group home links in `postUrls`**: they get a free `not_a_post` row; give them in `profileUrls`.
- **No people behind reactions outside the seven types**: Facebook's temporary reactions are counted in the post row, not named.
- **Personal data**: reactor rows carry the names, ids, profile links and pictures of people as Facebook shows them to any visitor. Use them under the data protection rules that apply to you.

### API

```bash
curl -X POST "https://api.apify.com/v2/acts/automation_craft~facebook-reactions-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"postUrls":["https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl"],"maxReactorsPerPost":50}'
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('automation_craft/facebook-reactions-scraper').call({ postUrls: ['https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl'], reactionTypes: ['like'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((x) => x.type === 'reactor').map((x) => x.reactorName));
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("automation_craft/facebook-reactions-scraper").call(run_input={"postUrls": ["https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl"], "maxReactorsPerPost": 50})
reactors = [x for x in client.dataset(run["defaultDatasetId"]).iterate_items() if x["type"] == "reactor"]
```

### Changelog

See the Changelog tab.

### More data tools by Automation Craft

- [Facebook Comments Scraper: Replies, No Login](https://apify.com/automation_craft/facebook-comments-scraper)
- [Facebook Post Scraper: Reactions and Shares by URL](https://apify.com/automation_craft/facebook-post-scraper)
- [Facebook Posts Scraper - Page Posts, No Login](https://apify.com/automation_craft/facebook-posts-scraper)
- [Facebook Groups Scraper: Posts of Public Groups](https://apify.com/automation_craft/facebook-groups-scraper)
- [Facebook Search Scraper: Keyword Posts, No Login](https://apify.com/automation_craft/facebook-search-scraper)
- [Facebook Page Search Scraper: Pages by Keyword](https://apify.com/automation_craft/facebook-page-search-scraper)
- [Instagram Comments Scraper: Posts, Reels, No Login](https://apify.com/automation_craft/instagram-comments-scraper)
- [Threads Replies Scraper: Comments of Any Post](https://apify.com/automation_craft/threads-replies-scraper)
- [Instagram Post Scraper: Details by URL, No Login](https://apify.com/automation_craft/instagram-post-scraper)
- [Instagram Profile Scraper: Followers, Bio, Posts](https://apify.com/automation_craft/instagram-profile-scraper)
- [Threads Scraper: Posts, Search, Tags, Replies](https://apify.com/automation_craft/threads-scraper)

# Changelog

This Actor's version history is a separate document: https://apify.com/automation_craft/facebook-reactions-scraper/changelog.md

# Actor input Schema

## `postUrls` (type: `array`):

Links of public Facebook posts whose reactors you want: page and profile posts (number or pfbid links), photos (/photo/?fbid=, photo.php, /<page>/photos/), videos (/videos/, /watch/?v=), reels (/reel/), public group posts, permalink.php and story.php links, share links (/share/p/, /share/r/, /share/v/), fb.watch and m.facebook.com links. Add ?comment_id=<number> to a post link to read who reacted to that comment. Up to 5,000 links. Page, profile and group home links are not read (a free row says so).

## `profileUrls` (type: `array`):

Optional: Facebook pages or profiles (links such as facebook.com/nasa or profile.php?id=<number>, or page names). For each, the newest posts (or reels, see the next field) are read and their reactors delivered like pasted links. Up to 200. Each post found gets its own rows; one free profile row per page says how many posts were found and read.

## `profileContent` (type: `string`):

posts: the page's newest posts from its timeline (read through Apify residential exits). reels: the newest reels of its Reels tab. Empty: posts.

## `maxPostsPerProfile` (type: `integer`):

How many of the newest posts (or reels) of each page are read. Empty: 10.

## `reactionTypes` (type: `array`):

Only people who reacted with these reactions. Empty: every type. Rows of other types are not read and not charged.

## `maxReactorsPerPost` (type: `integer`):

At most this many reactor rows per post or comment, in Facebook's order (the most frequent reaction type first). Empty: every name Facebook shows logged out (up to 19 per reaction type, so up to 133).

## `maxReactors` (type: `integer`):

Stop the run after this many reactor rows in all. Empty: no cap (the charge limit you set on the run still applies).

## `pictureSize` (type: `string`):

Size in pixels of the profile picture links in reactorPictureUrl (Facebook gives pictures for the first 10 names of each reaction type). Empty: 120.

## `maxConcurrency` (type: `integer`):

How many links are read at the same time (each on its own address). Empty: 4.

## `proxyConfiguration` (type: `object`):

Optional. This Actor reads Facebook through the Apify datacenter pool on its own, and the timeline of a profile walk (profileUrls with posts) through Apify residential exits, which Facebook requires for it. Add your own proxy addresses here (Custom proxies) to read everything through them instead. Residential groups chosen here are not used.

## `proxyUrls` (type: `string`):

Optional: your own proxy addresses, one per line, as http://user:password@host:port, used instead of the Apify datacenter pool. Up to 50. Send either this or the proxy editor's own addresses, not both.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl"
  ],
  "maxReactorsPerPost": 10
}
```

# Actor output Schema

## `items` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "postUrls": [
        "https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl"
    ],
    "maxReactorsPerPost": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation_craft/facebook-reactions-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "postUrls": ["https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl"],
    "maxReactorsPerPost": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("automation_craft/facebook-reactions-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "postUrls": [
    "https://www.facebook.com/koreanophiles/posts/pfbid02fMUydk6AXix41fyYnfqwCh2JKR57o6VikJkR4njmqgKnrc7sUAEqUREcTcuEUg5Nl"
  ],
  "maxReactorsPerPost": 10
}' |
apify call automation_craft/facebook-reactions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation_craft/facebook-reactions-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rHCqi7Fmyy3P5c9ej/builds/ijhK3KXdcn7XrpnqH/openapi.json
