Facebook Post
5 creditsFetch a Facebook post with comments.
/api/v1/tools/facebook/postParameters
Full Facebook post URL (e.g. "https://www.facebook.com/openai/posts/pfbid0w96S8oxKwX").
Maximum number of comments to return. Must be a positive integer. Defaults to 200. Upper bound is determined by your plan.
Fields to include per comment. Omit for defaults: legacyFbid, text, authorId, authorName, createdTime, reactionCount, replyCount, parentId. Available fields: legacyFbid, text, authorId, authorName, authorProfilePicUrl, createdTime, depth, reactionCount, replyCount, feedbackId, expansionToken, parentId. Use ["*"] for all fields.
Response Schema
Facebook post result
Post metadata
Array of comment objects.
Number of comments returned
Total comment count reported by Facebook
True if more comments exist than were returned. Only present when truncation occurred.
Request metadata
Tool name (facebook-post)
Credits consumed (5)
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"}}