VOOZH about

URL: https://apify.com/thedoor/facebook-comment-scraper

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


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

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

Pricing

from $0.80 / 1,000 results

Go to Apify Store

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

✨ Fastest BulkScraping 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.

Pricing

from $0.80 / 1,000 results

Rating

3.3

(2)

Developer

πŸ‘ TheDoor

TheDoor

Maintained by Community

Actor stats

4

Bookmarked

264

Total users

57

Monthly active users

1.2 days

Issues response

a day ago

Last modified

Share

Facebook Comment Scraper

Extract comments, replies, author profiles, images, and shared links from any Facebook post, video, reel, or group. Fast, reliable, and easy to use - no technical knowledge required.

⚑ Fast & Reliable

Scrapes thousands of comments in minutes with enterprise-grade infrastructure:

  • 1,600+ comments in 2-3 minutes
  • Automatic retry on errors
  • Works with posts, videos, reels, and groups
  • Extracts profile pictures, images, and shared links

πŸ“‹ Supported URL Formats

https://www.facebook.com/share/p/{share_id}/(auto-resolved)
https://www.facebook.com/share/v/{share_id}/(auto-resolved)
https://www.facebook.com/share/r/{share_id}/(auto-resolved)
https://www.facebook.com/reel/{reel_id}
https://www.facebook.com/watch/?v={video_id}
https://www.facebook.com/{page}/videos/{video_id}
https://www.facebook.com/groups/{group}/permalink/{post_id}/
https://www.facebook.com/{page}/posts/{post_id}
https://www.facebook.com/{page}/posts/pfbid{...}
https://www.facebook.com/permalink.php?story_fbid={post_id}&id={page_id}
https://www.facebook.com/photo/?fbid={photo_id}

πŸ“₯ Input Configuration

Simple Input Example

{
"postUrls":[
"https://www.facebook.com/share/p/17UEMxPmxv/",
"https://www.facebook.com/groups/n8n.automation/permalink/25205583905788653/",
"https://www.facebook.com/watch/?v=1510975140138256"
],
"targetComments":100,
"includeReplies":true
}

Input Options

FieldTypeRequiredDefaultDescription
postUrlsList of URLsYes*-Facebook post, video, reel, or group URLs
postUrlSingle URLYes*-Alternative to postUrls for single URL
orderingModeTextNo"RANKED"Sort by: "RANKED" (most relevant) or "NEWEST" (most recent)
targetCommentsNumberNo50How many comments to get per URL (use -1 for all)
includeRepliesYes/NoNotrueGet replies to comments (up to 5 levels deep)
includeReactionsYes/NoNotrueGet reaction counts (likes, loves, etc.)

*Provide either postUrls (multiple URLs) or postUrl (single URL).


πŸ“€ Output Structure

Flat Structure (Current)

Each comment and reply is a separate dataset item with depth tracking:

{
"post_url":"https://www.facebook.com/groups/n8n.automation/permalink/25205583905788653/",
"id":"25206260245721019",
"text":"This is a top-level comment",
"timestamp":1770810925,
"comment_time":"2026-02-11T10:15:25.000Z",
"author_name":"John Doe",
"author_id":"100001234567890",
"author_profile_picture":"https://scontent.fmpl1-1.fna.fbcdn.net/v/t39.30808-1/123456_789_n.jpg",
"author_profile_url":"https://www.facebook.com/johndoe",
"image_url":"https://scontent.fmpl1-1.fna.fbcdn.net/v/t39.30808-6/123456789_n.jpg",
"shared_link":"https://youtu.be/66u1vHTsI8E?si=iVCcmtHNZP_BvZgu",
"shared_link_title":"How to Build Automation Workflows",
"shared_link_source":"youtube.com",
"reactions_count":15,
"replies_count":3,
"is_reply":false,
"depth":0
}
{
"post_url":"https://www.facebook.com/groups/n8n.automation/permalink/25205583905788653/",
"id":"25206398222373888",
"text":"This is a reply to the comment above",
"timestamp":1770810928,
"comment_time":"2026-02-11T10:15:28.000Z",
"author_name":"Jane Smith",
"author_id":"100009876543210",
"author_profile_picture":"https://scontent.fmpl1-1.fna.fbcdn.net/v/t39.30808-1/987654_321_n.jpg",
"author_profile_url":"https://www.facebook.com/janesmith",
"image_url":null,
"shared_link":null,
"shared_link_title":null,
"shared_link_source":null,
"reactions_count":2,
"replies_count":0,
"is_reply":true,
"replyto_comment_id":"25206260245721019",
"depth":1
}

Output Fields

FieldTypeDescription
post_urlstringSource Facebook URL
idstringUnique comment/reply ID
textstringComment text content
timestampintegerUnix timestamp (seconds)
comment_timestringISO 8601 datetime
author_namestringAuthor display name
author_idstringAuthor Facebook ID
author_profile_picturestringAuthor profile picture URL (100% coverage)
author_profile_urlstring|nullAuthor profile URL (when available)
image_urlstring|nullAttached image URL (~4% of comments)
shared_linkstring|nullShared external link URL (~7% of comments)
shared_link_titlestring|nullTitle of shared link
shared_link_sourcestring|nullSource domain (e.g., "youtube.com")
reactions_countintegerTotal reaction count
replies_countintegerNumber of direct replies
is_replybooleantrue if this is a reply, false if top-level comment
replyto_comment_idstringParent comment ID (only for replies)
depthintegerNesting level (0 = top-level, 1+ = nested reply)

Reaction Types

When includeReactions: true, reaction breakdown is included:

LIKE, LOVE, HAHA, WOW, SAD, ANGRY, CARE


✨ What You Get

Complete Comment Data

  • πŸ“ Comment text and timestamps
  • πŸ‘€ Author names and profile pictures
  • πŸ–ΌοΈ Attached images (when available)
  • πŸ”— Shared links with titles (YouTube, articles, etc.)
  • ❀️ Reaction counts (likes, loves, etc.)
  • πŸ’¬ All replies and nested conversations

Easy to Use

  • Just paste Facebook URLs and click "Start"
  • Works with any public post, video, reel, or group
  • Get results in minutes, not hours
  • Download as JSON, CSV, Excel, or HTML
  • No coding or technical skills needed

Reliable & Fast

  • Automatically handles errors and retries
  • Processes multiple URLs at once
  • Extracts thousands of comments quickly
  • Works with all Facebook URL formats

πŸ“Š Data Coverage Examples

From a test scrape of 1,613 comments/replies:

  • Profile Pictures: 1,613 (100%)
  • Shared Links: 105 (~6.5%)
  • Images: 69 (~4.3%)

πŸ” Filtering Output Data

Get Only Top-Level Comments

Filter: {"is_reply":{"$eq":false}}

Get Only Replies

Filter:{"is_reply":{"$eq":true}}

Get Comments with Images

Filter:{"image_url":{"$ne":null}}

Get Comments with Shared Links

Filter:{"shared_link":{"$ne":null}}

Get Specific Depth Level

Filter:{"depth":{"$eq":1}}

πŸš€ How to Use

Quick Start (No Coding Required)

  1. Open the actor in Apify Console
  2. Paste Facebook URLs - Copy and paste any Facebook post, video, or group URL
  3. Set options (optional):
    • How many comments to get (default: 50, use -1 for all)
    • Include replies? (default: yes)
    • Sort by newest or most relevant
  4. Click "Start" and wait for results
  5. Download data - Get your results as JSON, CSV, Excel, or HTML

That's it! No technical knowledge needed.

πŸ”Œ For Developers (API Access)

Integrate this scraper into your applications using the Apify API:

JavaScript Example

import{ ApifyClient }from'apify-client';
const client =newApifyClient({token:'YOUR_API_TOKEN'});
const run =await client.actor('YOUR_ACTOR_ID').call({
postUrls:['https://www.facebook.com/watch/?v=1510975140138256'],
targetComments:100,
includeReplies:true
});
const{ items }=await client.dataset(run.defaultDatasetId).listItems();
console.log(`Scraped ${items.length} comments and replies`);

Python Example

from apify_client import ApifyClient
client = ApifyClient('YOUR_API_TOKEN')
run = client.actor('YOUR_ACTOR_ID').call(run_input={
'postUrls':['https://www.facebook.com/groups/example/permalink/123456/'],
'targetComments':100
})
items =list(client.dataset(run['defaultDatasetId']).iterate_items())
print(f"Scraped {len(items)} comments and replies")

See Apify API documentation for more details.


πŸ’‘ Use Cases

  • Market Research: Analyze customer feedback and sentiment
  • Social Listening: Monitor brand mentions and discussions
  • Content Analysis: Study engagement patterns and trends
  • Lead Generation: Find potential customers in relevant groups
  • Competitor Analysis: Track competitor posts and engagement
  • Academic Research: Collect data for social media studies

πŸ“œ Legal & Privacy

This scraper only collects publicly available data from Facebook. Users are responsible for:

  • Complying with Facebook's Terms of Service
  • Following data protection laws (GDPR, CCPA, etc.)
  • Using scraped data ethically and legally
  • Respecting user privacy

See Apify's Terms of Service for more information.


πŸ› Troubleshooting

No comments returned?

  • Make sure the post is public (not private or restricted)
  • Try changing sort order from "RANKED" to "NEWEST"
  • Check if the post actually has comments

Missing some comments?

  • Set targetComments to -1 to get all comments
  • The scraper will automatically retry if Facebook limits requests

Need help? Contact support or check the Apify documentation.


πŸ“ž Support

Need help? Have questions? Contact us through the Apify platform or check the documentation.


Keywords: Facebook scraper, comment scraper, social media scraper, Facebook comments, Facebook replies, social listening, sentiment analysis, market research, data extraction, web scraping

You might also like

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 Comments Scraper

datavoyantlab/facebook-comments-scraper

Extract Facebook comments from any post, page, or group. Download hundreds of comments with user data and engagement metrics in JSON, CSV, or Excel format.

661

5.0

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 Comments (Structured Output)

expected_knight/facebook-comments-structured-output

Pull the comments from any Facebook post in a structured format.

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.

775

5.0

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 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 Groups Posts Scraper

api-empire/facebook-groups-posts-scraper

Facebook Groups Posts Scraper extracts posts from public Facebook groups. Capture text, media, authors, timestamps, reactions, comments, and metadata. Ideal for research, community insights, trend tracking, and workflows needing structured Facebook group post data.

Scrape Twitter (X) Comments by Tweet ID - Cookieless

patient_discovery/twitter-comments

Extract Twitter comments from any public tweet without login or cookies. Enter a Tweet ID and get replies with engagement metrics, author profiles, hashtags, media, and conversation data in JSON or CSV. Ideal for sentiment analysis, brand monitoring, and competitive research at scale.

42

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 πŸ“Š!

205

4.8