Social Media · Facebook Scraper
Facebook Post Comments Scraper API
Pull every comment on a Facebook post, page by page, with author, text, reaction count, reply count and timestamp. No headless browsers, no captchas, proxies included.
// Facebook · Post Comments
curl -H "X-API-Key: hpx_your_key_here" \
"https://hproxy.com/api/v1/scrape/facebook/post-comments?url=https%3A%2F%2Fwww.facebook.com%2Fnasa"
// → { "data": { … }, "records": 1, "costUsd": … }
From Request to Clean JSON
You write one line. We do everything between the request and the data.
You send
One API call
GET the Facebook endpoint with your key. That's all your code does.
We handle
Proxies · captchas · parsing
Residential exit, anti-bot walls, JS rendering and extraction, all server-side, on us.
You get
Clean JSON
A structured object every time. No HTML, no scraping code, no maintenance.
The Facebook Post Comments endpoint is one API call: send either a URL or a feedback ID with your HProxy key and get back a clean, structured JSON object. Pull every comment on a Facebook post, page by page, with author, text, reaction count, reply count and timestamp. HProxy runs the proxies, sessions, anti-bot handling and parsing server-side, so there is no headless browser to babysit and no parser to keep fixing when Facebook changes its markup. You only ever touch the JSON. Longer result sets come back page by page with a cursor, so you can walk the whole set without holding it in memory.
What the Facebook Post Comments API returns
comments[]
Each comment with author, text, like count and timestamp.
author
Commenter handle, ID and avatar.
likeCount / replyCount
Engagement on each comment.
cursor
Pagination token to pull the next page of results.
Example response
{
"count": 18432,
"comments": [
{ "id": "72901...", "author": "@user", "text": "this is so real",
"likeCount": 214, "replyCount": 3, "createdAt": "2026-07-14T09:12:00Z" }
],
"cursor": "eyJvZmZzZXQiOjIwfQ"
}Trimmed for brevity. Every call returns the full object with all fields listed here.
The Facebook post comments endpoint
Full Facebook reference →/api/v1/scrape/facebook/post-commentsSend at least one of: url or feedback_id. Every parameter below is individually optional, so a call with none of these is rejected.
Otherwise the call returns 400 url or feedback_id required.
Parameters
urlurloptionalTarget URL (profile, post or video).
feedback_idstringoptionalIdentifier from a previous response.
cursorstringoptionalPagination token from the previous response.
Example request
curl "https://hproxy.com/api/v1/scrape/facebook/post-comments?url=https%3A%2F%2Fwww.facebook.com%2Fnasa" \
-H "X-API-Key: hpx_your_key_here"POST with a JSON body works too. Failed calls, timeouts and rate-limited calls are never billed.
Scraping Facebook post comments in three steps
Create a free account
Sign up and top up any amount. The balance pays for every HProxy product and never expires.
Grab your API key
One key from the dashboard authenticates every scraper, Facebook post comments included.
Call the endpoint
Send the target to the Facebook Post Comments endpoint and read the JSON. That is the whole integration.
No captchas, ever
Anti-bot walls, JS rendering and rate limits are handled server-side. You call an API, that is the whole job.
Residential-backed
Every request exits through HProxy's own residential network, so it looks like a real user on a real device.
Pay per call
No subscription, no seat licenses. Calls are billed from your balance and the balance never expires.
Fresh on every call
Responses are scraped live at request time, no stale cache dressed up as data.
Failures are free
Automatic retries first; if an extraction still fails, the call is not charged.
Scales with you
From one call to millions: same endpoint, same price curve, volume discounts as you grow.
What people build with it
Run sentiment and topic analysis on Facebook audiences.
Surface support issues or product feedback hiding in comments.
Detect spam, brigading or coordinated campaigns.
Facebook Post Comments pricing
$3.00
per 1,000 calls · 0.3¢ each
Pay per call, no subscription
Failed extractions are not charged
Proxies included in the price