Facebook Likes Scraper avatar

Facebook Likes Scraper

Pricing

from $0.60 / 1,000 reactors

Go to Apify Store
Facebook Likes Scraper

Facebook Likes Scraper

Scrape the people who reacted to public Facebook posts and reels: name, profile, reaction type and exact totals by type. Available to invited customers.

Pricing

from $0.60 / 1,000 reactors

Rating

0.0

(0)

Developer

Seb

Seb

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Get one row per person who reacted to a public Facebook post, photo, video or reel, with their reactor ID, name, profile URL and picture, reaction type, and the post's exact reaction totals by type. Each returned person costs $0.0006 ($0.60 per 1,000); a $0.00005 start fee applies per run.

Anyone can collect the reactors Facebook shows to logged-out visitors: up to about 70 people per post, plus the post's exact totals by type. Full reactor lists are available to invited customers with their access key.

What it returns

Each dataset item is one reactor. reactorId is the Facebook ID; when Facebook does not show a profile URL, it may be anonymized. reactionType is null for preview-only reactors.

NameTypeMeaning
facebookUrlstringResolved Facebook post URL.
inputUrlstringURL supplied in startUrls.
postIdstringFacebook post ID.
postUrlstringResolved post URL.
reactorIdstringFacebook ID for the person or Page who reacted.
reactorTypestring or nullUser, Page, or null when unavailable.
namestring or nullDisplay name, when available.
profileUrlstring or nullProfile URL, when Facebook shows one.
profilePicturestring or nullProfile picture URL, when available.
reactionTypestring or nullLIKE, LOVE, CARE, HAHA, WOW, SAD, ANGRY, or null for preview-only reactors.
postReactionsCountinteger or nullTotal reactions across all types.
postReactionCountsobjectExact totals for LIKE, LOVE, CARE, HAHA, WOW, SAD, and ANGRY.
scrapedAtstringTime the row was collected, in ISO 8601 format.

Example row (shortened, with placeholder names and IDs):

{"facebookUrl":"https://www.facebook.com/example/posts/POST_ID","inputUrl":"https://www.facebook.com/example/posts/POST_ID","postId":"POST_ID","postUrl":"https://www.facebook.com/example/posts/POST_ID","reactorId":"REACTOR_ID","reactorType":"User","name":"Example Person","profileUrl":"https://www.facebook.com/REACTOR_ID","profilePicture":null,"reactionType":"LIKE","postReactionsCount":125,"postReactionCounts":{"LIKE":80,"LOVE":20,"CARE":5,"HAHA":10,"WOW":4,"SAD":3,"ANGRY":3},"scrapedAt":"2026-10-30T12:00:00.000Z"}

Input

FieldDefaultMeaning
startUrlsRequiredFacebook post URLs; each item has a url.
accessKeyNoneFor invited customers: the access key included with your invitation. Without it, the run collects what Facebook shows logged-out visitors.
resultsLimitNo limitMaximum returned reactors per post.
freshListfalseIn managed mode, return the full list again without remembering this run; returned people are charged as usual.
reactionTypesAll typesReturn only selected reaction types: LIKE, LOVE, CARE, HAHA, WOW, SAD, ANGRY.
cookiesNo accountFor invited customers: optional Cookie-Editor JSON export, raw Cookie header, or a saved account file. Requires c_user, xs and accessKey. Used only for this run.
userAgentmacOS browser identityUsed to match the browser operating system to the browser that exported the cookies. Ignored when an account file is provided.
accountCountryusTwo-letter country code where the account normally logs in from. Ignored when an account file is provided.

Collect all available reactors from a post:

{"startUrls":[{"url":"https://www.facebook.com/example/posts/123456789"}]}

Collect only likes and loves, up to 100 people per post:

{"startUrls":[{"url":"https://www.facebook.com/example/posts/123456789"}],"reactionTypes":["LIKE","LOVE"],"resultsLimit":100}

Supported URLs

URLs may use www.facebook.com, m.facebook.com or web.facebook.com.

URL formExample path
Post/Page/posts/123456789
Permalink/permalink.php?story_fbid=123&id=456
Public group post/groups/GROUP/posts/123, /groups/GROUP/permalink/123
Photo/photo/?fbid=123
Reel/reel/123
Watch/watch/?v=123
Video/Page/videos/123
Share/share/r/CODE, /share/v/CODE, /share/p/CODE

Coverage report

The default key-value store's OUTPUT record contains a targets array with one report per URL. Each COVERAGE log line contains that URL's report. Reports include inputUrl, postId, mode, reactionsTotal, reactionCounts, reactorsReturned, previouslyDelivered, status, stopReason, duplicateOf, retries and requestsFailed.

In managed and own-account browser modes, OUTPUT is refreshed as reactors are delivered (at most about once every 10 seconds) and at the end of each attempt. While a post is being collected, its report has status: "partial" and stopReason: null; the final stop reason is set when the attempt ends.

FieldMeaning
reactorsReturnedPeople returned in this run.
previouslyDeliveredPeople already returned to this user for this post and skipped in this run.
StatusMeaning
completeThe list ended with every counted person returned, the returned count matches the total, or this URL duplicates a post already collected.
partialCollection is in progress or stopped at a result or charge limit, the logged-out visibility limit, an account interruption, lost connection, or run time limit, or the list ended before reaching Facebook's total (stopReason: "end_of_list").
failedCollection could not return rows or establish coverage.
unavailableThe post could not be accessed or found.

Without cookies, Facebook shows up to 10 people per reaction type, so a post returns up to about 70 people, plus a few from the reaction preview. Exact totals by type are still returned. A post with this visibility limit has stopReason: "logged_out_limit" and status: "partial"; if visible reactors equal the total, it is complete.

stopReasonMeaning
end_of_listThe list ended or the returned count matched the total.
logged_out_limitLogged-out visibility stopped collection before the total.
results_limitresultsLimit was reached.
charge_capThe run's event charge limit was reached.
free_plan_limitThe free-plan URL or result limit was reached.
account_logged_outFacebook logged the account out.
account_checkpointFacebook asked the account to verify itself.
rate_limitedFacebook rate limited the run.
connection_lostThe connection to Facebook could not be restored; rows already returned remain available.
proxy_authA temporary connection problem on our side stopped the run; rows already returned remain available. Try again later.
time_limitThe run stopped before its timeout so it could save results; increase the run timeout for large posts.
no_account_availableNo account was available to continue collecting.
unavailableThe post was unavailable.
errorCollection encountered an error.
duplicate_postThis post was already collected from an earlier URL.
reactors_hiddenThe post shows signed-in viewers only their friends' names, so no reactors can be collected. The post totals are still reported, the status is failed, and nothing is charged.

Account mode

Account mode is available to invited customers with their accessKey. To collect the full reactor list with your own Facebook account, provide its cookies. Install the Cookie-Editor browser extension, sign in to Facebook, open the extension on Facebook and use Export to copy the cookies as JSON. Paste that into cookies, or provide a raw Cookie header containing c_user and xs.

Set userAgent to the exporting browser's User-Agent so the Actor can match its operating system, and set accountCountry to the country the account normally logs in from. The Actor uses one Chrome tab and one residential IP for the run. Facebook's page opens and scrolls the reactions list. The Actor reads the page's responses and stops if Facebook logs the account out, asks it to verify itself (account_checkpoint) or rate limits it. Cookies are never written to logs, the dataset or run report. Use a secondary account; Facebook may restrict accounts used for automated access.

The account's Facebook interface must be in English or Spanish (Facebook Settings → Language and region → Facebook language); with another language the reactions list may not open and the post ends with stopReason: "error".

Pricing

Runs by users on Apify's free plan are limited to 3 URLs and 20 results per run.

  • reaction: $0.0006 per returned person ($0.60 per 1,000) on every plan.
  • Start fee: $0.00005 per run.
  • Duplicate post URLs, unavailable posts and failed posts: free.

Limits

Without an account, only reactors Facebook shows to logged-out visitors can be returned; hidden reactors are not available. reactionTypes filters returned rows, while the post totals still include every reaction type. Duplicate URLs for the same post are collected once. A later URL is reported with status: "complete", stopReason: "duplicate_post" and duplicateOf set to the URL that collected it.

In managed mode, re-running a post that stopped partway returns only people not delivered to you before. Set freshList to true for a test run or full re-read; it returns everyone again and does not affect later runs. If Apify restarts the run container, the run continues where it stopped without returning anyone twice, with or without freshList.

Use via API

Send JSON to the synchronous dataset-items endpoint:

curl -X POST 'https://api.apify.com/v2/acts/LordFloofington~facebook-likes-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
--data '{"startUrls":[{"url":"https://www.facebook.com/example/posts/123456789"}]}'

Compliance

Users are responsible for complying with Facebook's terms and applicable law when using this Actor.