Facebook Post
5 creditsFetch a Facebook post with comments.
POST
/api/v1/tools/facebook/postParameters
urlstringrequired
Full Facebook post URL (e.g. "https://www.facebook.com/openai/posts/pfbid0w96S8oxKwX").
maxCommentsnumber
Maximum number of comments to return. Must be a positive integer. Defaults to 200. Upper bound is determined by your plan.
Response Schema
dataobject
Facebook post result
postobject
Post metadata
commentsobject[]
Array of comment objects.
countnumber
Number of comments returned
totalCommentsnumber | null
Total comment count reported by Facebook
truncatedboolean
True if more comments exist than were returned. Only present when truncation occurred.
metaobject
Request metadata
toolstring
Tool name (facebook-post)
creditsUsednumber
Credits consumed (5)
requestIdstring
Unique request ID
Request
curl -X POST https://scraper.run/api/v1/tools/facebook/post \-H "Authorization: Bearer sc_live_..." \-H "Content-Type: application/json" \-d '{"url": "https://www.facebook.com/openai/posts/pfbid0w96S8oxKwX","maxComments": 50}'
Response Example
{"data": {"post": {"id": "pfbid0w96S8oxKwX","author": "OpenAI","text": "We are releasing a new set of research tools designed to help developers build safer AI systems. Read more about how these tools work.","createdAt": "2026-04-07T16:00:00.000Z","url": "https://www.facebook.com/openai/posts/pfbid0w96S8oxKwX","reactions": 2340,"shares": 412,"comments": 187},"comments": [{"id": "cmt_fb_001","parentId": "pfbid0w96S8oxKwX","author": "Maria Lopez","text": "This is exactly what the developer community needs. Great work.","createdAt": "2026-04-07T16:30:00.000Z","reactions": 34}],"count": 1,"totalComments": 187,"truncated": true},"meta": {"tool": "facebook-post","creditsUsed": 5,"requestId": "req_abc123"}}