Catalog / Social, content & reviews
SOCIAL, CONTENT & REVIEWS
Facebook Comments: Comments, Replies & Reactions
Scrape comments and replies from public Facebook posts, photos, videos and reels: text, author and profile link, date, reactions by type, reply counts and a direct link to each comment.
Input options
| Field | Type | Description | Default |
|---|---|---|---|
includeReplies |
boolean | Also save replies, up to two reply levels, as their own rows with depth and parentId. Replies count toward the same limits. | false |
maxCommentsPerPost |
integer | Most comments to save from each post, replies included. Example: 100. Facebook may show fewer public comments than its displayed total. | 100 |
maxItems |
integer | Most comments to save in this run across all links, replies included. Example: 500. | 100 |
maxPostsPerPage |
integer | For Page URLs only: how many of the Page's recent public posts to read, in the order the Page shows them (pinned posts can come first). Example: 5. | 1 |
onlyCommentsNewerThan |
string | Optional. A UTC date such as 2026-11-01 or a relative age such as 24 hours, 7 days or 2 weeks (counted back from the run start, handy for scheduled runs). Comments outside the window are skipped and not charged. With Newest first, reading stops at the first older comment. | |
onlyCommentsOlderThan |
string | Optional. A UTC date such as 2026-11-01 or a relative age such as 30 days. Combine with Only comments newer than for a date range. Skipped comments are not charged. | |
proxyConfiguration |
object | Optional Apify connection settings. Example: {"useApifyProxy":true,"apifyProxyCountry":"US"}. | map[apifyProxyCountry:US useApifyProxy:true] |
residentialFallback |
boolean | When Facebook refuses a public page on the default connection, retry it on an alternative one. Example: true. Saved comments are kept. | true |
sort |
string | Most relevant follows Facebook's default ranking. Newest first returns the latest comments first and works best with a date filter. | most_relevant |
startUrls |
array | Public Page post links, photo, video, reel and watch links, share links (facebook.com/share/…, fb.watch) or Page URLs. Comment links read the whole post. For a Page URL, comments come from its latest public posts (see Posts per Page). Example: https://www.facebook.com/NASA/posts/… . Duplicates are removed; unsupported links are skipped and listed in the run summary. Empty input runs an announced five-comment NASA sample. | |
Output schema
| Field | Type | Description |
|---|---|---|
authorId |
string, null | |
authorName |
string, null | |
authorProfilePicture |
string, null | |
authorUrl |
string, null | |
commentId |
string | |
commentUrl |
string, null | |
depth |
integer | |
isReply |
boolean | |
mediaUrl |
string, null | |
pageId |
string | |
pageName |
string, null | |
parentId |
string, null | |
postId |
string | |
postText |
string, null | |
postUrl |
string, null | |
publishedAt |
string, null | |
reactionsAngry |
integer, null | |
reactionsCare |
integer, null | |
reactionsCount |
integer, null | |
reactionsHaha |
integer, null | |
reactionsLike |
integer, null | |
reactionsLove |
integer, null | |
reactionsSad |
integer, null | |
reactionsWow |
integer, null | |
replyCount |
integer, null | |
scrapedAt |
string, null | |
text |
string, null |
About this data
Scrape comments and replies from public Facebook posts, photos, videos and reels: text, author and profile link, date, reactions by type, reply counts and a direct link to each comment. Filter by date, such as the last 7 days, for scheduled monitoring. Skipped comments cost nothing.
Run it on Apify
This data source is a public actor on the Apify Store: Facebook Comments Scraper: Comments, Replies & Reactions. Run it with your Apify account and plan for larger, scheduled or exported runs.
Run command
# MCP prompt for Claude/Cursor/Muse
Use the Apify connector to run automatic/facebook-comments-scraper with the input schema defined on Apify.
# Apify CLI / curl
apify call automatic/facebook-comments-scraper -i '{"includeReplies":{"default":false,"description":"Also save replies, up to two reply levels, as their own rows with depth and parentId. Replies count toward the same limits.","editor":"checkbox","prefill":false,"title":"Include public replies","type":"boolean"},"maxCommentsPerPost":{"default":100,"description":"Most comments to save from each post, replies included. Example: 100. Facebook may show fewer public comments than its displayed total.","editor":"number","maximum":1000,"minimum":1,"prefill":10,"title":"Maximum comments per post","type":"integer"},"maxItems":{"default":100,"description":"Most comments to save in this run across all links, replies included. Example: 500.","editor":"number","maximum":10000,"minimum":1,"prefill":10,"title":"Maximum comments in this run","type":"integer"},"maxPostsPerPage":{"default":1,"description":"For Page URLs only: how many of the Page's recent public posts to read, in the order the Page shows them (pinned posts can come first). Example: 5.","editor":"number","maximum":20,"minimum":1,"prefill":1,"title":"Posts per Page","type":"integer"},"onlyCommentsNewerThan":{"description":"Optional. A UTC date such as 2026-11-01 or a relative age such as 24 hours, 7 days or 2 weeks (counted back from the run start, handy for scheduled runs). Comments outside the window are skipped and not charged. With Newest first, reading stops at the first older comment.","editor":"textfield","maxLength":24,"prefill":"","title":"Only comments newer than","type":"string"},"onlyCommentsOlderThan":{"description":"Optional. A UTC date such as 2026-11-01 or a relative age such as 30 days. Combine with Only comments newer than for a date range. Skipped comments are not charged.","editor":"textfield","maxLength":24,"prefill":"","title":"Only comments older than","type":"string"},"proxyConfiguration":{"default":{"apifyProxyCountry":"US","useApifyProxy":true},"description":"Optional Apify connection settings. Example: {\"useApifyProxy\":true,\"apifyProxyCountry\":\"US\"}.","editor":"proxy","prefill":{"apifyProxyCountry":"US","useApifyProxy":true},"sectionCaption":"Advanced options","title":"Connection settings","type":"object"},"residentialFallback":{"default":true,"description":"When Facebook refuses a public page on the default connection, retry it on an alternative one. Example: true. Saved comments are kept.","editor":"checkbox","prefill":true,"title":"Retry blocked pages on another connection","type":"boolean"},"sort":{"default":"most_relevant","description":"Most relevant follows Facebook's default ranking. Newest first returns the latest comments first and works best with a date filter.","editor":"select","enum":["most_relevant","newest"],"enumTitles":["Most relevant","Newest first"],"prefill":"most_relevant","title":"Comment order","type":"string"},"startUrls":{"description":"Public Page post links, photo, video, reel and watch links, share links (facebook.com/share/…, fb.watch) or Page URLs. Comment links read the whole post. For a Page URL, comments come from its latest public posts (see Posts per Page). Example: https://www.facebook.com/NASA/posts/… . Duplicates are removed; unsupported links are skipped and listed in the run summary. Empty input runs an announced five-comment NASA sample.","editor":"stringList","items":{"maxLength":2048,"type":"string"},"maxItems":100,"prefill":["https://www.facebook.com/NASA/posts/pfbid02wE2bnKacnW5rQtZJwEjZZyVqXxoZ5NWakfbiznAPBtYxHDrAT8D8uJzt1GB928onl"],"title":"Facebook post, video, photo or Page links","type":"array"}}'
Machine-readable: openapi.json · llms.txt