Facebook Comments [$1.5💰] Scraper avatar

Facebook Comments [$1.5💰] Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Facebook Comments [$1.5💰] Scraper

Facebook Comments [$1.5💰] Scraper

💰 $1.5 per 1,000 results – No limits, no quotas, unlimited extraction. Extracts Facebook comments with profile data (name, ID, avatar, URL), comment metadata (text, date, likes, replies), post context (title, URL), and threading info for posts, reels, photos, and group content.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

1

Bookmarked

4

Total users

3

Monthly active users

2 days ago

Last modified

Share

Overview

The Facebook Comments Scraper is an Apify actor that collects public comments from Facebook posts, Reels, Watch videos, and photo stories. It loads the desktop HTML page, extracts Comet/GraphQL tokens, then calls Facebook’s comment pagination API—so you get structured rows similar to common “competitor” export shapes (permalink, legacy IDs, profile fields, optional nested reply metadata).

Use it for social listening, moderation pipelines, research datasets, or feeding downstream analytics—with control over sort mode (ALL, NEWEST, MOST_RELEVANT) and whether to target replies as well as top-level comments.


Features

  • URL coverage:

    • Post permalinks (/posts/…, pfbid… URLs, shares, etc.)
    • Reels (/reel/{numeric-id})
    • Watch (/watch?v={video-id}) — resolved internally to the canonical video story
    • Photo links (/photo?fbid=… and /photo/?fbid=…&set=a.…)
  • Comment modes (Comet-aligned intents):

    • ALL, NEWEST, MOST_RELEVANT — passed through to GraphQL so ordering matches Facebook’s UI intents.
  • Optional nested replies:

    • includeNestedComments toggles whether the crawler also materializes reply rows (with parentComment / parentReply / replyToCommentId when applicable).
  • Proxy support:

    • Custom proxy URLs or Apify Proxy — residential IPs are strongly recommended; datacenter IPs are often blocked.
  • Stable output schema:

    • One flat JSON object per comment (plus nested arrays/objects only where noted below). The same field set is used for every supported URL type; only values differ (e.g. commentUrl shape, or facebookId vs photo fbid in the input).

How to Use

  1. Set up: Apify account and (recommended) a residential proxy.
  2. Provide input: At minimum, startUrls with one or more Facebook URLs (see below).
  3. Tune limits: Set maxItems (per post URL), commentsMode, and includeNestedComments.
  4. Run the actor on Apify (or locally with Crawlee storage + INPUT.json).
  5. Download the dataset as JSON, CSV, or Excel.

Input Configuration

Configure the actor with startUrls and optional performance fields.

Example: posts, reels, watch, and photos

{
"startUrls": [
{ "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl" },
{ "url": "https://www.facebook.com/reel/4364570517119853" },
{ "url": "https://www.facebook.com/watch?v=1312736054237897" },
{ "url": "https://www.facebook.com/photo?fbid=1485098743181110" },
{ "url": "https://www.facebook.com/photo/?fbid=1489500156068574&set=a.800788574939739" },
{ "url": "https://www.facebook.com/groups/183774529022936/permalink/2090871251646578/?rdid=ofrIy5Dr5XISD6GH" },
{ "url": "https://www.facebook.com/photo.php?fbid=1423151982709120" },
{ "url": "https://www.facebook.com/share/p/1CfaPmdZLU" }
],
"maxItems": 60,
"commentsMode": "ALL",
"includeNestedComments": true,
"maxConcurrency": 2,
"minConcurrency": 1,
"maxRequestRetries": 3,
"proxy": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Supported URL types

The scraper supports the following Facebook URL formats:

  • Posts: https://www.facebook.com/{page}/posts/{id} or https://www.facebook.com/{page}/posts/pfbid…
  • Reels: https://www.facebook.com/reel/{numeric-id}
  • Watch videos: https://www.facebook.com/watch?v={video-id}
  • Photos: https://www.facebook.com/photo?fbid={photo-id} or https://www.facebook.com/photo/?fbid={photo-id}&set=a.{album-id}
  • Photo (legacy): https://www.facebook.com/photo.php?fbid={photo-id}
  • Group posts: https://www.facebook.com/groups/{group-id}/permalink/{post-id}/
  • Shared posts: https://www.facebook.com/share/p/{share-id}

Example: custom proxy URLs

{
"startUrls": [{ "url": "https://www.facebook.com/watch?v=1312736054237897" }],
"maxItems": 100,
"commentsMode": "NEWEST",
"includeNestedComments": false,
"maxConcurrency": 2,
"minConcurrency": 1,
"maxRequestRetries": 3,
"proxy": {
"useApifyProxy": false,
"proxyUrls": ["http://user:pass@host:port"]
}
}

Input Fields Explanation

  • Start URLs (startUrls): Array of { "url": "…" } objects. Each URL is treated as one story to fetch comments for. Supported shapes include public posts, Reels, Watch videos, and photo permalinks (with or without set=).
  • Max items (maxItems): Maximum number of comment rows to collect per start URL (not global across all URLs).
  • Comments mode (commentsMode): ALL | NEWEST | MOST_RELEVANT — controls how Facebook ranks the first pages of comments in GraphQL.
  • Include nested comments (includeNestedComments): If true, the actor also emits reply rows where the GraphQL thread includes depth-1 (and competitor-shaped parent fields). If false, only top-level targets are used (faster, simpler).
  • Max concurrency (maxConcurrency): Parallel HTTP requests (keep low for Facebook, e.g. 1–3).
  • Min concurrency (minConcurrency): Floor for the autoscaled pool.
  • Max request retries (maxRequestRetries): Retries per failed request before failing the run.
  • Proxy (proxy): Apify Proxy or custom proxyUrls. Residential groups are recommended in the schema prefill.

Output Structure

The actor writes one dataset item per comment (and per reply row when nested mode is on). The structure is the same whether the thread came from a post, Reel, Watch URL, or photo URL: field names and types do not change. What changes is content—for example facebookUrl / commentUrl may use /reel/… for some videos, or facebookId may be the story id rather than a photo fbid from the query string.

Is the output schema the same for all URL types?

Yes. Every supported URL type uses this same output object shape. Differences are only in values (URLs, ids, titles), and optional fields may appear only when the GraphQL payload includes them (e.g. likesCount, profileUrl, or nested parentComment / parentReply for replies).

Multi-row sample (competitor-style README)

The JSON array below matches the field shapes often shown in comparable Facebook comments scrapers: photo stories (with commentUrl sometimes pointing at a post permalink), page posts, reels, /{page}/videos/{id}, top-level comments, likesCount / commentsCount, postTitle, pageAdLibrary (including optional keys such as woodhenge_creator_info), and nested replies with threadingDepth 1–2, reply_comment_id on commentUrl, plus replyToCommentId, parentComment, and parentReply.

The same array is committed as docs/readme-sample-dataset.json.

This actor’s export: every row also includes commentId (legacy id string). It is omitted in the block below so the sample stays aligned with a typical competitor readme; in real runs it is always present—on reply rows it follows the same parent legacy id convention as those tools.

[
{
"facebookUrl": "https://www.facebook.com/photo?fbid=1116999000475930&set=a.360010452841459",
"commentUrl": "https://www.facebook.com/nasaearth/posts/pfbid033CUUDwDfJ5K72pKddVDVmbc3c3fdFrQV1JeFAsTkxzYMXJRaZPzrJT2gZLbSkqgtl?comment_id=1219560193041665",
"id": "Y29tbWVudDoxMTE2OTk5MDI3MTQyNTk0XzEyMTk1NjAxOTMwNDE2NjU=",
"feedbackId": "ZmVlZGJhY2s6MTExNjk5OTAyNzE0MjU5NF8xMjE5NTYwMTkzMDQxNjY1",
"date": "2025-05-28T17:59:51.000Z",
"text": "...only if Trump says yes, sadly!",
"profilePicture": "https://scontent.fbsb29-1.fna.fbcdn.net/v/t39.30808-1/397600866_6212369505530123_6287106951993640811_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=107&ccb=1-7&_nc_sid=e99d92&_nc_ohc=6XOrdseiZE4Q7kNvwGrr_q6&_nc_oc=Adk3E3MhEVvt5O5wxdR87_tb_gJcLMJCgYPcBuuua4Rkj01pLKbsJVOT6T0tGbf1fYc&_nc_zt=24&_nc_ht=scontent.fbsb29-1.fna&_nc_gid=OWQHY1gyGquQ37ae703-ew&oh=00_AfJlfmQpM6OWM-2u53XtkZX98ziwC13W7qKN6IuZsIalVg&oe=6846576D",
"profileId": "pfbid02TTDAAVDhDg4YS4x6sqkLNLpMwAUWYyFHRqtzuXBV2BDqrs9N6RRfyC5dUDUhRg4ql",
"profileName": "David Wood",
"likesCount": "6",
"commentsCount": 3,
"comments": [],
"threadingDepth": 0,
"facebookId": "1116999027142594",
"inputUrl": "https://www.facebook.com/photo?fbid=1116999000475930&set=a.360010452841459"
},
{
"facebookUrl": "https://www.facebook.com/nasaearth/posts/pfbid02QZnrKoDC2UBUcErwP1YkKhFmXX4mnJCeaJGC8eRGHwQyMt2Nadf3ez196Hw1bSX7l",
"commentUrl": "https://www.facebook.com/nasaearth/posts/pfbid02QZnrKoDC2UBUcErwP1YkKhFmXX4mnJCeaJGC8eRGHwQyMt2Nadf3ez196Hw1bSX7l?comment_id=1209615394072246",
"id": "Y29tbWVudDoxMDkxODY2NDY5NjU1ODUwXzEyMDk2MTUzOTQwNzIyNDY=",
"feedbackId": "ZmVlZGJhY2s6MTA5MTg2NjQ2OTY1NTg1MF8xMjA5NjE1Mzk0MDcyMjQ2",
"date": "2025-04-23T18:53:49.000Z",
"text": "Chaque jour, c'est la Journée de la Terre avec des vues comme celles-ci ! 🌎\n\nLa NASA a toujours les yeux rivés sur notre planète, des satellites à la Station spatiale internationale, des paysages désertiques sablonneux aux côtes colorées en passant par la banquise glaciale. Suivez-nous pour continuer à explorer notre planète toute l'année.",
"profilePicture": "https://scontent.fcpv10-1.fna.fbcdn.net/v/t39.30808-1/493016865_2359367431111671_7940242516417186946_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=109&ccb=1-7&_nc_sid=e99d92&_nc_ohc=ksO30e6Y6hcQ7kNvwE8XLQN&_nc_oc=AdmMxJbhuOeqSTyiUooBhAP9BGl9EOSZy8LZBhX3r8rdkYwIcEqN5HTsCQd4U1vstEg&_nc_zt=24&_nc_ht=scontent.fcpv10-1.fna&_nc_gid=YHGozEtz8ueT7gN_PmKnsg&oh=00_AfJEvnGmW1-8m0pvRI5GEYkGVweFbV7QUVDjrsxouPXWFw&oe=68465365",
"profileId": "pfbid0FBP1wxPwNjYLtk7AhAqV8UjhKwoUWKihWWsNz4jwSf9MHXpqp6HNsiVgHKJErsJpl",
"profileName": "Denis Coquillard",
"likesCount": "0",
"threadingDepth": 0,
"facebookId": "1091866469655850",
"postTitle": "Every day is Earth Day with views like these! 🌎\n\nNASA always has eyes on our planet, from satellite to International Space Station views, from sandy desert landscapes to colorful coastlines to frigid sea ice. Follow us to keep exploring our planet all year.",
"pageAdLibrary": {
"is_business_page_active": false,
"id": "57242657138"
},
"inputUrl": "https://www.facebook.com/nasaearth/posts/pfbid02QZnrKoDC2UBUcErwP1YkKhFmXX4mnJCeaJGC8eRGHwQyMt2Nadf3ez196Hw1bSX7l"
},
{
"facebookUrl": "https://www.facebook.com/reel/1279475120033004",
"commentUrl": "https://www.facebook.com/reel/1279475120033004/?comment_id=457412420505444",
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA==",
"feedbackId": "ZmVlZGJhY2s6MTAwMDc3NTY0MjA5ODI2N180NTc0MTI0MjA1MDU0NDQ=",
"date": "2024-12-22T07:44:35.000Z",
"text": "I know the earth is flat😍",
"profileUrl": "https://www.facebook.com/lee.anne.corrigan.2025",
"profilePicture": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.30808-1/419766633_353908277380398_8055192747489902257_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=101&ccb=1-7&_nc_sid=e99d92&_nc_ohc=3vAP8qZJ_BAQ7kNvwHx2HIb&_nc_oc=AdkCGn3DmO173nS0mzu2zTApF1_-N3-jfhHeBfR9vCd63ICIOwFqoz-Vo6Z7FqTCnbo&_nc_zt=24&_nc_ht=scontent-ord5-1.xx&_nc_gid=0SOag9zviLXGfqJqfaIAzA&oh=00_AfKS0pmfztf2ho68hxq6rzEjiraHJcVhZaPxA_kvT3CP-g&oe=68463161",
"profileId": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl",
"profileName": "Lee-Anne Corrigan",
"likesCount": "26",
"commentsCount": 10,
"comments": [],
"threadingDepth": 0,
"facebookId": "1000775642098267",
"postTitle": "Chill out with us 🧘❄️\n\nToday is the December solstice – marking the beginning of winter in the Northern Hemisphere, and with it the shortest day and longest night of the year. Whether you’re in the...",
"pageAdLibrary": {
"id": "57242657138",
"woodhenge_creator_info": null
},
"inputUrl": "https://www.facebook.com/reel/1279475120033004"
},
{
"facebookUrl": "https://www.facebook.com/photo?fbid=1116999000475930&set=a.360010452841459",
"commentUrl": "https://www.facebook.com/nasaearth/posts/pfbid033CUUDwDfJ5K72pKddVDVmbc3c3fdFrQV1JeFAsTkxzYMXJRaZPzrJT2gZLbSkqgtl?comment_id=1219560193041665&reply_comment_id=1333787737699902",
"id": "Y29tbWVudDoxMTE2OTk5MDI3MTQyNTk0XzEzMzM3ODc3Mzc2OTk5MDI=",
"feedbackId": "ZmVlZGJhY2s6MTExNjk5OTAyNzE0MjU5NF8xMzMzNzg3NzM3Njk5OTAy",
"date": "2025-05-30T12:32:10.000Z",
"text": "David Wood Hello 👋 handsome 😍 love 💘 you looking cool and nice pics baby text me pravite on messages right now I'm there waiting for you",
"profileUrl": "https://www.facebook.com/rosemary.331623",
"profilePicture": "https://scontent.fbom3-2.fna.fbcdn.net/v/t39.30808-1/501045066_1946462219428553_514126617357261330_n.jpg?stp=c0.0.480.480a_cp0_dst-jpg_s32x32_tt6&_nc_cat=103&ccb=1-7&_nc_sid=111fe6&_nc_ohc=Gl4SFxXId00Q7kNvwH6VrJh&_nc_oc=AdlqikofSuGGtGqV-lD_iziOQifIOjy4YG44cx-FmnsBjUWgqcLyz9LTS9D0qPYVeUI&_nc_zt=24&_nc_ht=scontent.fbom3-2.fna&_nc_gid=ILLhyU-ZUFqIpSOLs3UP4Q&oh=00_AfIM3b8OaJ7KGPTsIdi5_ouKCBdXG6WoDIchXY000j_njg&oe=684654DB",
"profileId": "61576668248130",
"profileName": "Rose Mary ",
"likesCount": "0",
"threadingDepth": 1,
"replyToCommentId": "Y29tbWVudDoxMTE2OTk5MDI3MTQyNTk0XzEyMTk1NjAxOTMwNDE2NjU=",
"parentComment": {
"author": {
"__typename": "User",
"name": "David Wood",
"short_name": "David",
"id": "pfbid02TTDAAVDhDg4YS4x6sqkLNLpMwAUWYyFHRqtzuXBV2BDqrs9N6RRfyC5dUDUhRg4ql"
},
"id": "Y29tbWVudDoxMTE2OTk5MDI3MTQyNTk0XzEyMTk1NjAxOTMwNDE2NjU="
},
"parentReply": {
"author": {
"__typename": "User",
"name": "David Wood",
"gender": "MALE",
"id": "pfbid02TTDAAVDhDg4YS4x6sqkLNLpMwAUWYyFHRqtzuXBV2BDqrs9N6RRfyC5dUDUhRg4ql"
},
"id": "Y29tbWVudDoxMTE2OTk5MDI3MTQyNTk0XzEyMTk1NjAxOTMwNDE2NjU="
},
"facebookId": "1116999027142594",
"inputUrl": "https://www.facebook.com/photo?fbid=1116999000475930&set=a.360010452841459"
},
{
"facebookUrl": "https://www.facebook.com/nasaearth/videos/696990469602498",
"commentUrl": "https://www.facebook.com/nasaearth/videos/696990469602498/?comment_id=1213728620291204",
"id": "Y29tbWVudDoxMTE4MzkxMzU3MDAzMzYxXzEyMTM3Mjg2MjAyOTEyMDQ=",
"feedbackId": "ZmVlZGJhY2s6MTExODM5MTM1NzAwMzM2MV8xMjEzNzI4NjIwMjkxMjA0",
"date": "2025-05-31T22:04:15.000Z",
"text": "TOO OBVIOUS to analyze the general flowing direction of hurrican near East Coast side of Northern America continent that it's direction always flows from the east then hit to the coast line along with the Appalach Mt then swirl to the northern east.\n\nFor the average wind power will be dampened at Midwest around Louisiana to Great 5 Lakes but NEVER will pass thru to Rocky Mt as the 2nd barrier line...\n\nNo wonder that Dorothy in Wizard of OZ was in that kind dramatically climate/ story. Even till today it remains the same. Cuz that closely link to the specific natural UNCHANGE geograpy. LOLOLLL \n\nStill Love this classic economic childhood story and ALL CRACKS with the current modern gadget detacting/ tracking device...LOLOLLL \n\nPlay the theme song of Tomas steam engine",
"profileUrl": "https://www.facebook.com/tess.peng.3",
"profilePicture": "https://scontent-lga3-2.xx.fbcdn.net/v/t1.6435-1/122543243_10158646277403334_3634110916889594091_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=109&ccb=1-7&_nc_sid=e99d92&_nc_ohc=Ze2PmuijB5sQ7kNvwELiTA8&_nc_oc=Adl_FDAWAPYAp1phcLi9OrqDmYwdtCuviGaxu3EWL2zMVyMUl9K4SBxAnq0VNnKHWnw&_nc_zt=24&_nc_ht=scontent-lga3-2.xx&_nc_gid=YnpJL6FNhq4wmKxxPgoPCA&oh=00_AfIj9RsVf5-MZr8p9Mp_i9OHsscAtRHkTlnhQOfNM2BmDw&oe=6867E95D",
"profileId": "pfbid027KKNTA5qEbk4E3V3mEWfMnkXjmHiH2Jz5T1xRLcGNV2ZyHiVqSBSLidvCyxxkHgul",
"profileName": "Serena Lay",
"likesCount": "0",
"commentsCount": 1,
"comments": [],
"threadingDepth": 0,
"facebookId": "1118391357003361",
"postTitle": "Look back at the 2024 Atlantic hurricane season 🌀\n\nThere were 18 named storms in last year’s season. That included 11 hurricanes, five of which reached...",
"inputUrl": "https://www.facebook.com/nasaearth/videos/696990469602498"
},
{
"facebookUrl": "https://www.facebook.com/reel/1279475120033004",
"commentUrl": "https://www.facebook.com/reel/1279475120033004/?comment_id=457412420505444&reply_comment_id=2325160184548965",
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzIzMjUxNjAxODQ1NDg5NjU=",
"feedbackId": "ZmVlZGJhY2s6MTAwMDc3NTY0MjA5ODI2N18yMzI1MTYwMTg0NTQ4OTY1",
"date": "2024-12-22T12:12:55.000Z",
"text": "Lee-Anne Corrigan it said it’s time for a brain break but I’m pretty sure it meant for people who actually have brains. In other words this doesn’t apply to you 😂",
"profileUrl": "https://www.facebook.com/terry.jenkins.1675",
"profilePicture": "https://scontent-dfw5-1.xx.fbcdn.net/v/t39.30808-1/316823463_5622418214478446_2643563387840313075_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=110&ccb=1-7&_nc_sid=e99d92&_nc_ohc=VlOPsthG8tkQ7kNvwFddh6H&_nc_oc=Adnut9naDW0V7DJr0yzDG8ULtyuch-9qMnkTmEI9Bcl2sk2x9pI3_7wHG6eJYRnfrqA&_nc_zt=24&_nc_ht=scontent-dfw5-1.xx&_nc_gid=D_fOZIJj9yDTBWB8ErgdaA&oh=00_AfLNhvx-uaZAgEOC2v7X5sjB8KZgLsScppEJ1M5GlTidKw&oe=68463076",
"profileId": "pfbid02XMpcvFw9RZMwuzp1wBtvYy7B99caK8HdqDKQakhKG6MD6U933Z6bi5obkA1wpk76l",
"profileName": "Terry Jenkins",
"likesCount": "12",
"commentsCount": 1,
"threadingDepth": 1,
"replyToCommentId": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA==",
"parentComment": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"short_name": "Lee-Anne",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"parentReply": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"gender": "FEMALE",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"facebookId": "1000775642098267",
"postTitle": "Chill out with us 🧘❄️\n\nToday is the December solstice – marking the beginning of winter in the Northern Hemisphere, and with it the shortest day and longest night of the year. Whether you’re in the...",
"pageAdLibrary": {
"id": "57242657138",
"woodhenge_creator_info": null
},
"inputUrl": "https://www.facebook.com/reel/1279475120033004"
},
{
"facebookUrl": "https://www.facebook.com/reel/1279475120033004",
"commentUrl": "https://www.facebook.com/reel/1279475120033004/?comment_id=457412420505444&reply_comment_id=581092864863678",
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzU4MTA5Mjg2NDg2MzY3OA==",
"feedbackId": "ZmVlZGJhY2s6MTAwMDc3NTY0MjA5ODI2N181ODEwOTI4NjQ4NjM2Nzg=",
"date": "2024-12-22T12:14:16.000Z",
"text": "Lee-Anne Corrigan I always say that so many humans still have one foot in the jungle. I use comments like yours to prove it !",
"profileUrl": "https://www.facebook.com/terry.jenkins.1675",
"profilePicture": "https://scontent-dfw5-1.xx.fbcdn.net/v/t39.30808-1/316823463_5622418214478446_2643563387840313075_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=110&ccb=1-7&_nc_sid=e99d92&_nc_ohc=VlOPsthG8tkQ7kNvwFddh6H&_nc_oc=Adnut9naDW0V7DJr0yzDG8ULtyuch-9qMnkTmEI9Bcl2sk2x9pI3_7wHG6eJYRnfrqA&_nc_zt=24&_nc_ht=scontent-dfw5-1.xx&_nc_gid=D_fOZIJj9yDTBWB8ErgdaA&oh=00_AfLNhvx-uaZAgEOC2v7X5sjB8KZgLsScppEJ1M5GlTidKw&oe=68463076",
"profileId": "pfbid02XMpcvFw9RZMwuzp1wBtvYy7B99caK8HdqDKQakhKG6MD6U933Z6bi5obkA1wpk76l",
"profileName": "Terry Jenkins",
"likesCount": "9",
"threadingDepth": 1,
"replyToCommentId": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA==",
"parentComment": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"short_name": "Lee-Anne",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"parentReply": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"gender": "FEMALE",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"facebookId": "1000775642098267",
"postTitle": "Chill out with us 🧘❄️\n\nToday is the December solstice – marking the beginning of winter in the Northern Hemisphere, and with it the shortest day and longest night of the year. Whether you’re in the...",
"pageAdLibrary": {
"id": "57242657138",
"woodhenge_creator_info": null
},
"inputUrl": "https://www.facebook.com/reel/1279475120033004"
},
{
"facebookUrl": "https://www.facebook.com/reel/1279475120033004",
"commentUrl": "https://www.facebook.com/reel/1279475120033004/?comment_id=457412420505444&reply_comment_id=457207180763552",
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzIwNzE4MDc2MzU1Mg==",
"feedbackId": "ZmVlZGJhY2s6MTAwMDc3NTY0MjA5ODI2N180NTcyMDcxODA3NjM1NTI=",
"date": "2024-12-31T13:24:58.000Z",
"text": "Lee-Anne Corrigan You know NOTHING.",
"profilePicture": "https://scontent-dfw5-2.xx.fbcdn.net/v/t39.30808-1/465889857_10236074902039291_7058633697329668428_n.jpg?stp=c0.6.87.87a_cp0_dst-jpg_s32x32_tt6&_nc_cat=106&ccb=1-7&_nc_sid=e99d92&_nc_ohc=kn4AwONB1OcQ7kNvwEh7JSM&_nc_oc=AdkMqpP4BYc-d_o8fsjAhJ8VkoLIFD8fIUe1ZoBDBhbc9WHxdogL0Zl_v3V3x4DeXRk&_nc_zt=24&_nc_ht=scontent-dfw5-2.xx&_nc_gid=D_fOZIJj9yDTBWB8ErgdaA&oh=00_AfLH_okeEAwRQimgqE1xVV7GouLOPaoNKDf1ftjFb8-CuQ&oe=68464C07",
"profileId": "pfbid02njrEEQyCWRZUX7as84v7WJVV34hgVZbHMvtksnE1WJwY9UHgaQGSvogiW48BkomYl",
"profileName": "Allan Moore",
"likesCount": "2",
"threadingDepth": 1,
"replyToCommentId": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA==",
"parentComment": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"short_name": "Lee-Anne",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"parentReply": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"gender": "FEMALE",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"facebookId": "1000775642098267",
"postTitle": "Chill out with us 🧘❄️\n\nToday is the December solstice – marking the beginning of winter in the Northern Hemisphere, and with it the shortest day and longest night of the year. Whether you’re in the...",
"pageAdLibrary": {
"id": "57242657138",
"woodhenge_creator_info": null
},
"inputUrl": "https://www.facebook.com/reel/1279475120033004"
},
{
"facebookUrl": "https://www.facebook.com/reel/1279475120033004",
"commentUrl": "https://www.facebook.com/reel/1279475120033004/?comment_id=457412420505444&reply_comment_id=1667707660843743",
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzE2Njc3MDc2NjA4NDM3NDM=",
"feedbackId": "ZmVlZGJhY2s6MTAwMDc3NTY0MjA5ODI2N18xNjY3NzA3NjYwODQzNzQz",
"date": "2025-01-04T10:32:20.000Z",
"text": "Terry Jenkins you so right is for people with brain not apply to them 😂😂😂😂😂😂😂",
"profilePicture": "https://scontent-dfw5-1.xx.fbcdn.net/v/t39.30808-1/493190193_1726276084929012_7689335311062474144_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=101&ccb=1-7&_nc_sid=1d2534&_nc_ohc=CDMan5-Sd2cQ7kNvwE5nf8E&_nc_oc=AdlFz45dUEsU7BPup-YlmoLvaZZeAO_s4fpSkN43MNmwN_ZIP1KSOhd2sg1lJNWtq4s&_nc_zt=24&_nc_ht=scontent-dfw5-1.xx&_nc_gid=D_fOZIJj9yDTBWB8ErgdaA&oh=00_AfIhldYPAqN18uSurQdpMtkUGB3tgvyJwAz5AtZTbaZTsw&oe=68465877",
"profileId": "100026399115309",
"profileName": "Roberto Carnevale",
"likesCount": "1",
"threadingDepth": 2,
"replyToCommentId": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA==",
"parentComment": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"short_name": "Lee-Anne",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"parentReply": {
"author": {
"__typename": "User",
"name": "Terry Jenkins",
"gender": "MALE",
"id": "pfbid02XMpcvFw9RZMwuzp1wBtvYy7B99caK8HdqDKQakhKG6MD6U933Z6bi5obkA1wpk76l"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzIzMjUxNjAxODQ1NDg5NjU="
},
"facebookId": "1000775642098267",
"postTitle": "Chill out with us 🧘❄️\n\nToday is the December solstice – marking the beginning of winter in the Northern Hemisphere, and with it the shortest day and longest night of the year. Whether you’re in the...",
"pageAdLibrary": {
"id": "57242657138",
"woodhenge_creator_info": null
},
"inputUrl": "https://www.facebook.com/reel/1279475120033004"
},
{
"facebookUrl": "https://www.facebook.com/reel/1279475120033004",
"commentUrl": "https://www.facebook.com/reel/1279475120033004/?comment_id=457412420505444&reply_comment_id=631784902522321",
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzYzMTc4NDkwMjUyMjMyMQ==",
"feedbackId": "ZmVlZGJhY2s6MTAwMDc3NTY0MjA5ODI2N182MzE3ODQ5MDI1MjIzMjE=",
"date": "2025-01-08T17:33:20.000Z",
"text": "Lee-Anne Corrigan are Really THAT DUMB...or just joking!\nI hope so!. Or you're all money and NO Brain.?",
"profilePicture": "https://scontent-dfw5-2.xx.fbcdn.net/v/t39.30808-1/465182899_1786719858399475_7202224234908260170_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=106&ccb=1-7&_nc_sid=e99d92&_nc_ohc=ZJ345-MIlO4Q7kNvwFXw3WW&_nc_oc=AdmPebNahgf1U5AuRp2dFSRfq5TY2uVsXcvni-Uz-XSAuYlPbu5Oh1A0v6LlLQ9fH-M&_nc_zt=24&_nc_ht=scontent-dfw5-2.xx&_nc_gid=D_fOZIJj9yDTBWB8ErgdaA&oh=00_AfKYdXpKK1PMRtSBs0hTJI-gM1NBs8udLaXl1pgmN8J84Q&oe=68465052",
"profileId": "pfbid05wNq9GA4wHRN31VQNg5nVzDPhoovXt9u9vmvPJmojZiSXnkhL466EgDX67ijZEG9l",
"profileName": "Julianna Moore",
"likesCount": "0",
"commentsCount": 1,
"threadingDepth": 1,
"replyToCommentId": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA==",
"parentComment": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"short_name": "Lee-Anne",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"parentReply": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"gender": "FEMALE",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"facebookId": "1000775642098267",
"postTitle": "Chill out with us 🧘❄️\n\nToday is the December solstice – marking the beginning of winter in the Northern Hemisphere, and with it the shortest day and longest night of the year. Whether you’re in the...",
"pageAdLibrary": {
"id": "57242657138",
"woodhenge_creator_info": null
},
"inputUrl": "https://www.facebook.com/reel/1279475120033004"
},
{
"facebookUrl": "https://www.facebook.com/reel/1279475120033004",
"commentUrl": "https://www.facebook.com/reel/1279475120033004/?comment_id=457412420505444&reply_comment_id=1663206084553359",
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzE2NjMyMDYwODQ1NTMzNTk=",
"feedbackId": "ZmVlZGJhY2s6MTAwMDc3NTY0MjA5ODI2N18xNjYzMjA2MDg0NTUzMzU5",
"date": "2025-01-13T01:24:44.000Z",
"text": "Julianna Moore you just believe the indoctrination from School, sorry",
"profileUrl": "https://www.facebook.com/lee.anne.corrigan.2025",
"profilePicture": "https://scontent-dfw5-1.xx.fbcdn.net/v/t39.30808-1/419766633_353908277380398_8055192747489902257_n.jpg?stp=cp0_dst-jpg_s32x32_tt6&_nc_cat=101&ccb=1-7&_nc_sid=e99d92&_nc_ohc=3vAP8qZJ_BAQ7kNvwGsVG3q&_nc_oc=Adn3XVPSxiUL1wIbxFsDCylmUHZw7ao2WrK2VnX162P05JkvbArm0UXK90T00bnSvVU&_nc_zt=24&_nc_ht=scontent-dfw5-1.xx&_nc_gid=D_fOZIJj9yDTBWB8ErgdaA&oh=00_AfKatUFr9-YvRdji5GzScQFH7MyVhKtY4_yDrZIWHjIvAQ&oe=68463161",
"profileId": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl",
"profileName": "Lee-Anne Corrigan",
"likesCount": "0",
"threadingDepth": 2,
"replyToCommentId": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA==",
"parentComment": {
"author": {
"__typename": "User",
"name": "Lee-Anne Corrigan",
"short_name": "Lee-Anne",
"id": "pfbid02j41thbCUm2ad3QrCvHR8TfxAVN1SkQxq2bC2yVT4b4WRiZ9ChtNxSyV2xvKVm8MMl"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzQ1NzQxMjQyMDUwNTQ0NA=="
},
"parentReply": {
"author": {
"__typename": "User",
"name": "Julianna Moore",
"gender": "FEMALE",
"id": "pfbid05wNq9GA4wHRN31VQNg5nVzDPhoovXt9u9vmvPJmojZiSXnkhL466EgDX67ijZEG9l"
},
"id": "Y29tbWVudDoxMDAwNzc1NjQyMDk4MjY3XzYzMTc4NDkwMjUyMjMyMQ=="
},
"facebookId": "1000775642098267",
"postTitle": "Chill out with us 🧘❄️\n\nToday is the December solstice – marking the beginning of winter in the Northern Hemisphere, and with it the shortest day and longest night of the year. Whether you’re in the...",
"pageAdLibrary": {
"id": "57242657138",
"woodhenge_creator_info": null
},
"inputUrl": "https://www.facebook.com/reel/1279475120033004"
}
]

Sample comment output

The following object is the first record from data.json in this repository (photo URL with fbid + set). The profilePicture value is shortened with here for readability; real runs contain the full Facebook CDN URL.

{
"facebookUrl": "https://www.facebook.com/photo/?fbid=1489500156068574&set=a.800788574939739",
"commentUrl": "https://www.facebook.com/photo/?fbid=1489500156068574&set=a.800788574939739&comment_id=930672569337014",
"commentId": "930672569337014",
"id": "Y29tbWVudDoxNDg5NTAwMzYyNzM1MjIwXzkzMDY3MjU2OTMzNzAxNA==",
"text": "Watching a match without a ticket is not a crime. No laws cover it. If u don't have a ticket u might be denied entry into the stadium.",
"comments": [],
"threadingDepth": 0,
"facebookId": "1489500362735220",
"postTitle": "",
"pageAdLibrary": {
"is_business_page_active": false,
"id": "0"
},
"inputUrl": "https://www.facebook.com/photo/?fbid=1489500156068574&set=a.800788574939739",
"feedbackId": "ZmVlZGJhY2s6MTQ4OTUwMDM2MjczNTIyMF85MzA2NzI1NjkzMzcwMTQ=",
"date": "2026-03-13T20:25:06.000Z",
"profilePicture": "https://scontent.fptp3-1.fna.fbcdn.net/…",
"profileId": "pfbid02GSbxMEz86kbVK11uFfAzmTwENwvsVpGiAQqvMKhdcEBh8ifMRokRhEEtDsLLUQqHl",
"profileName": "Rupesh R. S.",
"profileUrl": "https://www.facebook.com/rupesh.r.shambharkar"
}

Comment output — field descriptions

Story and input context

  • facebookUrl: Canonical permalink for the story used for comment links (from post meta). Often matches what you opened; for some surfaces Facebook may normalize paths while keeping the same story id.
  • inputUrl: The exact start URL from your input for this row’s thread (useful when you pass several URLs and need to trace provenance).
  • facebookId: Numeric story identifier used in feedback/comment GraphQL (not always equal to a photo fbid in the query string—photos map to a story id).
  • postTitle: Title or headline text for the post when available; may be an empty string if Facebook did not expose a clean title (common on some photo/video surfaces).

Comment identity and body

  • commentId: Legacy comment id string used in comment_id= permalinks. For top-level comments this is the comment’s own legacy id; for nested reply rows the actor may set this to the parent legacy id to match competitor-style exports—see also replyToCommentId when present.
  • id: GraphQL relay id for the comment (opaque base64-style token), stable in API terms.
  • feedbackId: Base64-encoded feedback:{facebookId}_{commentLegacyId} — pairs the comment with the story feedback id for debugging or deduplication.
  • text: Plain comment body (string). Empty string if the comment had no text (e.g. sticker-only—if surfaced).
  • date: ISO 8601 timestamp for comment creation (UTC, milliseconds .000Z), derived from GraphQL created_time when present.
  • commentUrl: Direct permalink to this comment (adds comment_id= or, for replies, reply_comment_id= as applicable). Built from the story base URL + legacy ids.
  • threadingDepth: 0 for top-level thread items, ≥ 1 for replies when nested extraction is enabled.
  • comments: Reserved array; kept empty in the flat export. Reply content appears as separate dataset rows when includeNestedComments is on, not nested JSON here.

Author profile

  • profileId: Author id (pfbid… or numeric id) when available.
  • profileName: Display name of the commenter.
  • profileUrl: Profile or “people” permalink when GraphQL provided it; may be omitted on some rows if not returned.
  • profilePicture: CDN URL for the author’s avatar (often long query string); may be omitted if missing.

Page / Ad Library hint

  • pageAdLibrary: Small object from page metadata (when present on the story):

    • is_business_page_active: Boolean from Facebook page context when available.
    • id: Page-related id string when available; may be "0" or absent when unknown.
    • woodhenge_creator_info: Extra creator metadata from GraphQL when Facebook returns it; often null (see multi-row sample).

Engagement (when GraphQL returns counts)

  • likesCount: String formatted like competitor exports ("6", "1.3K", "2M", …) when reaction counts exist.
  • commentsCount: Direct reply-count value from GraphQL when present—may appear as a number or formatted string depending on the payload.

Nested reply fields (when includeNestedComments is true)

  • replyToCommentId: Relay id of the parent comment this row replies under (the top-level anchor in the thread, not necessarily the immediate author you see in text).
  • parentComment: Object with id (parent comment relay id) and author: __typename (e.g. "User"), name, short_name, id (author id).
  • parentReply: Same id as parentComment, with author that may also include gender when GraphQL exposes it—mirrors common competitor readme shape.
  • threadingDepth: 1 for a direct reply under the top-level comment; 2 when the reply targets another reply (see multi-row sample: parentReply may then reference the immediate parent’s relay id).

Benefits of the Facebook Comments Scraper

  • Pulls structured comment rows from public Facebook threads without running a browser farm for the hot path (Cheerio + GraphQL).
  • One schema for posts, Reels, Watch, and photos—easy to store and query.
  • Configurable sort mode and nested replies to match your product needs.
  • Built for proxy-based operation on modern Facebook.

Why Choose the Facebook Comments Scraper?

If you need consistent, flat JSON for Facebook comments across multiple URL types, with control over newest vs ranked ordering and optional reply expansion, this actor is built for that workflow. Residential proxies and conservative concurrency are the expected operating mode on Facebook.


Explore More Scrapers

If you found this actor useful, check out other scrapers at memo23's Apify profile.


Support


Additional Services