VOOZH about

URL: https://apify.com/crawlerbros/facebook-comments-scraper

⇱ Facebook Comments Scraper Β· Apify


Pricing

from $5.00 / 1,000 results

Go to Apify Store

Facebook Comments Scraper

Scrape public comments from Facebook posts, Watch videos, and photo stories. Extract comment text, author info, reactions, timestamps, and nested replies via GraphQL pagination.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

2

Bookmarked

144

Total users

39

Monthly active users

47 days

Issues response

3 months ago

Last modified

Share

Extract public comments from Facebook posts, Reels, Watch videos, and photo stories. Get comment text, author info, reactions, timestamps, and nested reply threads β€” no login or cookies required.

Features

  • Scrape comments from any public Facebook post, Watch video, or page video
  • Support for group posts, shared posts, and page video URLs
  • Three comment sorting modes: All, Newest, or Most Relevant
  • Nested reply extraction with full parent/reply threading metadata
  • Author details: name, profile picture, profile URL, ID
  • Reaction counts and reply counts per comment
  • ISO 8601 timestamps
  • Anti-blocking: headless Chromium browser, residential proxy support, request delays
  • Export to JSON, CSV, Excel, or XML

Input

FieldTypeRequiredDefaultDescription
Start URLsstring[]Yesβ€”Facebook post, Reel, Watch, or photo URLs to scrape comments from
Max items per URLintegerNo100Maximum number of comments to collect per URL
Comments modestringNoALLSort order: ALL (chronological), NEWEST (reverse chronological), or MOST_RELEVANT (Facebook's ranked order)
Include nested commentsbooleanNotrueAlso scrape reply threads under top-level comments
Max request retriesintegerNo3Number of retries per failed request
Proxy ConfigurationobjectNoResidentialProxy settings. Residential IPs strongly recommended

Supported URL Formats

  • Posts: https://www.facebook.com/PageName/posts/1234567890
  • Posts (pfbid): https://www.facebook.com/PageName/posts/pfbid0...
  • Reels: https://www.facebook.com/reel/1234567890 (requires login β€” not supported)
  • Watch videos: https://www.facebook.com/watch?v=1234567890
  • Photos: https://www.facebook.com/photo?fbid=1234567890
  • Photo (legacy): https://www.facebook.com/photo.php?fbid=1234567890
  • Group posts: https://www.facebook.com/groups/groupname/permalink/1234567890/
  • Page videos: https://www.facebook.com/PageName/videos/1234567890
  • Shared posts: https://www.facebook.com/share/p/abc123/

Example Input

{
"startUrls":[
{"url":"https://www.facebook.com/NASA/posts/1234567890"},
{"url":"https://www.facebook.com/reel/9876543210"}
],
"maxItems":200,
"commentsMode":"MOST_RELEVANT",
"includeNestedComments":true,
"proxy":{
"useApifyProxy":true,
"apifyProxyGroups":["RESIDENTIAL"]
}
}

Output

Each comment record contains the following fields:

FieldTypeDescription
facebookUrlstringCanonical URL of the post
commentUrlstringDirect permalink to the comment
commentIdstringLegacy numeric comment ID
idstringInternal relay ID
feedbackIdstringFeedback ID for the comment
datestringComment timestamp (ISO 8601)
textstringFull comment text
profilePicturestringAuthor's profile picture URL
profileIdstringAuthor's numeric profile ID
profileNamestringAuthor's display name
profileUrlstringAuthor's profile URL
likesCountintegerNumber of reactions on the comment
threadingDepthinteger0 = top-level comment, 1+ = reply depth
commentsCountintegerNumber of replies (0 for replies themselves)
facebookIdstringPost/story ID
inputUrlstringOriginal URL provided in input
replyToCommentIdstringParent comment legacy ID (empty string for top-level comments)
postTitlestringPost title extracted from page metadata (empty if not available)

Example Output

Top-level comment:

{
"facebookUrl":"https://www.facebook.com/NASA/posts/pfbid025kwyoB...",
"commentUrl":"https://www.facebook.com/NASA/posts/pfbid025kwyoB...?comment_id=809453025548580",
"commentId":"809453025548580",
"id":"Y29tbWVudDoxNDg3...",
"feedbackId":"ZmVlZGJhY2s6MTQ4...",
"date":"2026-03-26T23:31:17.000Z",
"text":"Ah I remember the moon landing of 1969 on the eve of my 9th birthday!",
"profilePicture":"https://scontent.xx.fbcdn.net/v/...",
"profileId":"pfbid0248UufsteCx...",
"profileName":"Gwen Weidell",
"profileUrl":"https://www.facebook.com/gwen.weidell.9",
"likesCount":26,
"threadingDepth":0,
"commentsCount":2,
"replyToCommentId":"",
"facebookId":"1487017912793580",
"inputUrl":"https://www.facebook.com/NASA/posts/pfbid025kwyoB...",
"postTitle":"Our Artemis II crew will be the first to fly around the Moon in more than 50 years..."
}

Reply to a comment (threadingDepth 1):

{
"facebookUrl":"https://www.facebook.com/NASA/posts/pfbid025kwyoB...",
"commentUrl":"https://www.facebook.com/NASA/posts/pfbid025kwyoB...?comment_id=810234567890123",
"commentId":"810234567890123",
"id":"Y29tbWVudDo4MDk0...",
"feedbackId":"ZmVlZGJhY2s6ODA5...",
"date":"2026-03-26T15:10:22.000Z",
"text":"Totally agree with you!",
"profilePicture":"https://scontent.xx.fbcdn.net/v/...",
"profileId":"100012345678901",
"profileName":"John Doe",
"profileUrl":"https://www.facebook.com/john.doe",
"likesCount":2,
"threadingDepth":1,
"commentsCount":0,
"replyToCommentId":"809453025548580",
"facebookId":"1487017912793580",
"inputUrl":"https://www.facebook.com/NASA/posts/pfbid025kwyoB...",
"postTitle":"Our Artemis II crew will be the first to fly around the Moon in more than 50 years..."
}

Use Cases

  • Brand monitoring β€” Track what people say about your brand on Facebook posts
  • Market research β€” Analyze audience sentiment and topics in post comments
  • Content analysis β€” Study engagement patterns across different types of posts
  • Community insights β€” Understand audience reactions to news, announcements, or campaigns
  • Competitor analysis β€” Monitor comments on competitor pages and posts
  • Lead generation β€” Identify engaged users from comment activity

Tips for Best Results

  1. Use residential proxies β€” Facebook blocks datacenter IPs aggressively. Select "Residential" proxy group for best results
  2. Start with fewer URLs β€” Test with 1-2 URLs first, then scale up
  3. Public posts only β€” The scraper can only access comments on public posts accessible without login
  4. Comment limits β€” Set maxItems per URL to control costs and runtime. Each URL fetches up to the specified limit

Limitations

  • Only public posts are supported. Private, friends-only, or restricted posts cannot be accessed
  • Reels require Facebook login β€” Reels (/reel/ URLs) are not accessible without a Facebook session. Use post or video URLs instead
  • Video URLs need residential proxy on Apify β€” Facebook blocks video pages from datacenter IPs. Standard posts work without proxy
  • Facebook may occasionally block requests β€” use residential proxies and keep concurrency low
  • Comment ordering depends on Facebook's API. The MOST_RELEVANT mode uses Facebook's own ranking algorithm
  • Some older posts may have limited data availability
  • Nested reply depth is limited to what Facebook's API returns (typically 1-2 levels)

FAQ

Q: Do I need a Facebook account or cookies to use this scraper? A: No. The scraper works with public posts and videos without any login or authentication. The only exception is Reels, which Facebook requires login to access.

Q: Can I scrape comments from Facebook Reels? A: No. Facebook Reels require login to view, which this scraper does not support. Use the post URL or video URL format instead.

Q: Why are some comments missing? A: Facebook may restrict access to certain comments based on privacy settings, regional blocking, or content moderation. Only publicly visible comments can be scraped.

Q: What happens if Facebook blocks my requests? A: The scraper includes automatic retry logic and uses a headless Chromium browser to bypass anti-bot protections. Using residential proxies significantly reduces blocking. If you still experience issues, try spacing out your runs.

Q: Can I scrape comments from private groups? A: No. Only public group posts where comments are visible without login can be scraped.

Q: How does the comment sorting work? A: ALL returns comments in chronological order (oldest first), NEWEST returns newest first, and MOST_RELEVANT uses Facebook's ranking algorithm which prioritizes popular and engaging comments.

Q: What is threadingDepth? A: It indicates the nesting level. 0 means it's a top-level comment directly on the post. 1 means it's a reply to a top-level comment. Higher values indicate deeper nesting.

Q: How many comments can I scrape per run? A: You can set maxItems up to 10,000 per URL. The actual number depends on how many public comments exist on the post.

You might also like

Facebook Comments Scraper⚑

premiumscraper/facebook-comments-scraper

Scrape Facebook post comments and nested replies. Output includes: comment text, author name & profile URL, timestamp, like count, reply count, attachments, and full reply threads. One clean row per comment. Ideal for NLP and sentiment research ✨Facebook Comments Scraper⚑

πŸ‘ User avatar

Premium Scraper

25

Facebook Posts/Comments Scraper

alien_force/facebook-posts-comments-scraper

Facebook Post Scraper with Comments extracts Facebook post details, including text, author info, likes, shares, and media. It also scrapes comments with user details, engagement metrics, and timestamps. Ideal for social media monitoring, sentiment analysis, and audience insights.

774

5.0

Facebook Post Comments Scraper

easyapi/facebook-post-comments-scraper

Effortlessly extract comments from public Facebook posts. This actor automates comment collection, providing detailed information such as author details, comment text, and timestamps. Ideal for social media analysis, sentiment analysis, and market research.

1.1K

2.3

Facebook Comment Free To Use

dz_omar/facebook-comment-scraper

Free To Use: Extract comments & threaded replies from any Facebook post : reels, videos, photos & text posts πŸ’¬. Supports bulk URLs, full pagination, reactions, author data & more πŸ“Š.

πŸ‘ User avatar

FlowExtract API

136

4.4

Facebook Comments Scraper - Posts & Pages

makework36/facebook-comments-scraper

Scrape Facebook comments from any public post or page. No login needed. Get comment text, author, date, reactions, reply count. Also extracts post info: text, reactions, shares. Pure HTTP.

πŸ‘ User avatar

deusex machine

36

Facebook Comments Scraper (All-in-One) Fast & cheap πŸ’¬β­

scrapestorm/facebook-comments-scraper-all-in-one-fast-cheap

Collect comments from public Facebook posts effortlessly with this powerful tool! Automate the extraction of author info, comments, and timestamps ⏰. Scrape not only post comments but also comments from images and videos πŸŽ₯πŸ“Έ. Ideal for social media analysis and data insights πŸ“Š!

204

4.8

Facebook Comments Scraper

scraper_one/facebook-comments-scraper

Extract comments from Facebook posts provided as input URLs. Retrieve comment text, authors, timestamps, reactions, and more. Ideal for social media monitoring, sentiment analysis, and engagement tracking. πŸš€

535

5.0

Facebook Posts Scraper

datapilot/facebook-posts-scraper

Just provide the page URL. The page name, post ID, link, text, likes, comments, shares β€” all data will be collected and stored directly in your Apify dataset. Works with residential proxies for reliable data extraction. Fast and easy β€” optimized for scraping public page data from Facebook.

Facebook Comments Scraper

apify/facebook-comments-scraper

Extract data from hundreds of Facebook comments from one or multiple Facebook posts. Get comment text, timestamp, likes count and basic commenter info. Download the data in JSON, CSV, Excel and use it in apps, spreadsheets, and reports.

Facebook Comment Extractor πŸ—¨οΈβš‘: Data, Details & Analytics

thedoor/facebook-comment-scraper

✨ Get all Videos, Reels, Posts, Groups β€” and all their comments β€” in one click. Fast, clean, and effortless. Works with multiple URLs and supports every Facebook link format. Download data in JSON, CSV, Excel for use in apps, spreadsheets, and reports.