Facebook Comments Scraper avatar

Facebook Comments Scraper

Pricing

from $1.40 / 1,000 comments

Go to Apify Store
Facebook Comments Scraper

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.

Pricing

from $1.40 / 1,000 comments

Rating

4.7

(73)

Developer

Apify

Apify

Maintained by Apify

Actor stats

380

Bookmarked

33K

Total users

2.9K

Monthly active users

20 hours

Issues response

6 hours ago

Last modified

Categories

Share

What is Facebook Comments Scraper?

Facebook Comments Scraper is a simple but powerful tool that lets you extract comments from Facebook posts, videos, posts with images, and reels. Just paste in a post URL and click "Save & Start". Unlike the limited Facebook API, this scraper gives you access to publicly visible comments in bulk:

❖ Scrape thousands of Facebook comments from a post, photo, reel, and video

❖ Extract comment text, replies, likes count, timestamp, and more

❖ Extract basic public profile info of the comment author

❖ Presort comments based on sorting type (newest, most relevant, all), filter out comments based on timeframe

❖ Get 2,000 comments for free in less than 2 minutes

No limitations on requests or number of calls

❖ Export to JSON, CSV, Excel, or HTML

❖ Export via SDKs (Python & Node.js), use API Endpoints, webhooks, or integrate with apps & AI workflows

❖ Combine with 20+ other Facebook scraping tools

What Facebook comments data can I extract?

With this Facebook API, you will be able to extract the following data from Facebook posts:

📝 Post title🔗 Post URL
💬 Comment text and URL⌨️ Replies count
🧛 Commenter name and profile ID🖼 Profile picture
🕐 Timestamp👍 Likes count
🙋 Replier's name🧵 Threading depth
🆔 Post, Comment, Facebook ID🛍️ Ad Library activity status

How do I use Facebook Comments Scraper?

Facebook Comments Scraper was built to work even if you’ve never scraped data before. Here’s how to get started:

  1. Create a free Apify account.
  2. Open Facebook Comments Scraper.
  3. Paste in one or more Facebook post URLs.
  4. Choose the number of comments and replies to scrape.
  5. Choose the way the comments are sorted (most relevant, newest, or non-filtered)
  6. Click "Start" to begin the scrape.
  7. Download your results as JSON, CSV, Excel, HTML, or use the API.

If you want a walkthrough, check out our step-by-step tutorial 🔗.

⬇️ Input

The input for Facebook Comments Scraper should be Facebook post URLs (reels, videos, posts with images, or regular posts). Paste them manually, import a list, or set up your own input via API.

Facebook comments scraping input

Click on the input tab for a full explanation of an input example in JSON.

⬆️ Output

The results will be wrapped into a dataset which you can find in the Storage tab. Here's an excerpt from the dataset you'd get if you apply the input parameters above:

Facebook comments scraping output

💬 Extracted Facebook comments & replies sample

[
{
"facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl",
"commentUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl?comment_id=883254471472572",
"commentId": "883254471472572",
"id": "Y29tbWVudDoxNDU4OTI0Mzg5MTMxODc5Xzg4MzI1NDQ3MTQ3MjU3Mg==",
"feedbackId": "ZmVlZGJhY2s6MTQ1ODkyNDM4OTEzMTg3OV84ODMyNTQ0NzE0NzI1NzI=",
"date": "2026-06-05T04:06:45.000Z",
"text": "You're beautiful! 27 is young. Don't be in a hurry. Dating sites prob aren't the answer!",
"profilePicture": "https://scontent-atl3-3.xx.fbcdn.net/v/t39.30808-1/464862567_1308754820535790_5748858663920029356_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx720x730&ctp=s32x32&_nc_cat=109&ccb=1-7&_nc_sid=e99d92&_nc_ohc=lTUbrprb5fUQ7kNvwGCPbX4&_nc_oc=Adqz_11UgWazzeluG-rh33nxZ3xrhlsA9nyQn2c13pbp7nmRr4hY5y-SBTay892Dp8o&_nc_zt=24&_nc_ht=scontent-atl3-3.xx&_nc_gid=sDahnKaxNXx_2cdrHGhHSA&_nc_ss=7c289&oh=00_Af9Yiohg9QT50jB2sW7OjOtnZU46HxAcF6Xsv5oM4YqkOw&oe=6A3097CC",
"profileId": "pfbid02hfdQq8zmFdeQYj7ZNN7qkKumDyyndD8QhF7zd4eGoLFgzB6JfTdXFeiW5i61kJhcl",
"profileName": "Laurie DeHarte",
"likesCount": "0",
"threadingDepth": 0,
"facebookId": "1458924389131879",
"postTitle": "“I’ve been on forty first dates over the course of three years. And that’s not counting the hundred conversations on dating apps that didn’t go anywhere. So yeah— I thought meeting someone would be a little easier than this. Maybe the city is just a difficult place to date, or maybe it’s just how the apps are designed, but it’s a pretty cold environment, pretty emotionless. People don’t seem to put much emotion into the way they put themselves out there. There’s a lot of ghosting. It happens most often before you even get to the date. You’ll be trying to set something up, and the person falls off. But there are times when the date does happen, and you’ll think it went well, but when you follow up a few days later there’s no response. People seem to have this mentality that if they’ve just met someone online, they don’t owe them anything. And I agree with that to some extent. But I think you owe people the common decency to reject them. I don’t think it’s difficult to say: ‘I’m not interested.’ One time I’d been dating someone for a month-and-a-half. We’d just spent a weekend together in New Jersey, but when I texted him the next day he didn't respond ever again. Maybe I’m just too sensitive. A lot of people seem to be able to say: ‘If the person ghosted me, then they weren’t for me.’ But I end up feeling like I'm not interesting enough, or that there's something missing with me that people can sense, and that's why it never goes anywhere deeper. Maybe that’s my low self-esteem coming out. Maybe if I had higher self-esteem I wouldn’t take ghosting so badly. I’m still only 27, but I’m losing hope of actually finding someone. I'm so fed up with the interactions I’m having that I don't want to put myself out there as much. People keep disappointing me. So it’s like: ‘Is it really worth my peace to keep interacting with people?’ But I feel like I have to keep doing it. Because if I stop, then I'll get into this head space where I don't want to put myself out there again.’”",
"pageAdLibrary": {
"is_business_page_active": false,
"id": "102099916530784"
},
"inputUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl"
},
{
"facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl",
"commentUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl?comment_id=2089407168274372",
"commentId": "2089407168274372",
"id": "Y29tbWVudDoxNDU4OTI0Mzg5MTMxODc5XzIwODk0MDcxNjgyNzQzNzI=",
"feedbackId": "ZmVlZGJhY2s6MTQ1ODkyNDM4OTEzMTg3OV8yMDg5NDA3MTY4Mjc0Mzcy",
"date": "2026-05-31T01:10:09.000Z",
"text": "Being hurt by ghosting doesn't make you sensitive it makes you human. The world needs more people who are honest about their feelings and respectful of others emotions",
"profileUrl": "https://www.facebook.com/aichia.chung",
"profilePicture": "https://scontent-atl3-1.xx.fbcdn.net/v/t39.30808-1/710723135_26951122931197054_7103138006659037278_n.jpg?stp=c0.455.1034.1035a_cp0_dst-jpg_tt6&cstp=mx1034x1035&ctp=s32x32&_nc_cat=106&ccb=1-7&_nc_sid=e99d92&_nc_ohc=YCvFfcCgHmQQ7kNvwEyh4it&_nc_oc=AdoAtv4VMfUuayk0FtueYhrF7OVWHY6C4TGVI2oh3PFX8V1LtrgomWC9D0-mEW0uVYY&_nc_zt=24&_nc_ht=scontent-atl3-1.xx&_nc_gid=sDahnKaxNXx_2cdrHGhHSA&_nc_ss=7c289&oh=00_Af8xZ_x6eG5cKJ7_NTZK4Vxk261uQtCLZzqfc9SpwBmq8w&oe=6A307AB1",
"profileId": "pfbid02UXES35YzTyQorvGeaVBDtac9ELRiSXuuFrrcsiqRM2wGDSJELEEimKg3zaHbpWTkl",
"profileName": "Meera Rajput",
"likesCount": "0",
"threadingDepth": 0,
"facebookId": "1458924389131879",
"postTitle": "“I’ve been on forty first dates over the course of three years. And that’s not counting the hundred conversations on dating apps that didn’t go anywhere. So yeah— I thought meeting someone would be a little easier than this. Maybe the city is just a difficult place to date, or maybe it’s just how the apps are designed, but it’s a pretty cold environment, pretty emotionless. People don’t seem to put much emotion into the way they put themselves out there. There’s a lot of ghosting. It happens most often before you even get to the date. You’ll be trying to set something up, and the person falls off. But there are times when the date does happen, and you’ll think it went well, but when you follow up a few days later there’s no response. People seem to have this mentality that if they’ve just met someone online, they don’t owe them anything. And I agree with that to some extent. But I think you owe people the common decency to reject them. I don’t think it’s difficult to say: ‘I’m not interested.’ One time I’d been dating someone for a month-and-a-half. We’d just spent a weekend together in New Jersey, but when I texted him the next day he didn't respond ever again. Maybe I’m just too sensitive. A lot of people seem to be able to say: ‘If the person ghosted me, then they weren’t for me.’ But I end up feeling like I'm not interesting enough, or that there's something missing with me that people can sense, and that's why it never goes anywhere deeper. Maybe that’s my low self-esteem coming out. Maybe if I had higher self-esteem I wouldn’t take ghosting so badly. I’m still only 27, but I’m losing hope of actually finding someone. I'm so fed up with the interactions I’m having that I don't want to put myself out there as much. People keep disappointing me. So it’s like: ‘Is it really worth my peace to keep interacting with people?’ But I feel like I have to keep doing it. Because if I stop, then I'll get into this head space where I don't want to put myself out there again.’”",
"pageAdLibrary": {
"is_business_page_active": false,
"id": "102099916530784"
},
"inputUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl"
},
{
"facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl",
"commentUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl?comment_id=26766913429643643",
"commentId": "26766913429643643",
"id": "Y29tbWVudDoxNDU4OTI0Mzg5MTMxODc5XzI2NzY2OTEzNDI5NjQzNjQz",
"feedbackId": "ZmVlZGJhY2s6MTQ1ODkyNDM4OTEzMTg3OV8yNjc2NjkxMzQyOTY0MzY0Mw==",
"date": "2026-05-17T03:18:02.000Z",
"text": "Is sad but if you can do not spend a weekend with anybody in any place.Give yourself a little.more respect.You look like a very nice and good woman.Spend time not looking.Wait until God found your perfect match.Let us know if this have good results😘",
"profileUrl": "https://www.facebook.com/lourdes.quintero.77582",
"profilePicture": "https://scontent-atl3-2.xx.fbcdn.net/v/t39.30808-1/673859884_2061771258091941_7418303018882414017_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx2048x2042&ctp=s32x32&_nc_cat=102&ccb=1-7&_nc_sid=e99d92&_nc_ohc=qVL-SG8Juq4Q7kNvwHqGg9D&_nc_oc=Adrmb7UQw112l1CHjOuQksQH8cBKPxcKPxo0W2-v8xrteg7tk59SBpldLwixslJe8Ng&_nc_zt=24&_nc_ht=scontent-atl3-2.xx&_nc_gid=sDahnKaxNXx_2cdrHGhHSA&_nc_ss=7c289&oh=00_Af8JCxomSixpkFo7MJhglp8h025ZO_zC9wNsYuiihzQRLw&oe=6A307364",
"profileId": "pfbid0auM5GNtTyzpmc7SRX2cb3HMCmn8T8u5ujdWtwWvBx2gJMCadFPDk8WQuyFigWPfRl",
"profileName": "Lourdes Quintero",
"likesCount": "0",
"threadingDepth": 0,
"facebookId": "1458924389131879",
"postTitle": "“I’ve been on forty first dates over the course of three years. And that’s not counting the hundred conversations on dating apps that didn’t go anywhere. So yeah— I thought meeting someone would be a little easier than this. Maybe the city is just a difficult place to date, or maybe it’s just how the apps are designed, but it’s a pretty cold environment, pretty emotionless. People don’t seem to put much emotion into the way they put themselves out there. There’s a lot of ghosting. It happens most often before you even get to the date. You’ll be trying to set something up, and the person falls off. But there are times when the date does happen, and you’ll think it went well, but when you follow up a few days later there’s no response. People seem to have this mentality that if they’ve just met someone online, they don’t owe them anything. And I agree with that to some extent. But I think you owe people the common decency to reject them. I don’t think it’s difficult to say: ‘I’m not interested.’ One time I’d been dating someone for a month-and-a-half. We’d just spent a weekend together in New Jersey, but when I texted him the next day he didn't respond ever again. Maybe I’m just too sensitive. A lot of people seem to be able to say: ‘If the person ghosted me, then they weren’t for me.’ But I end up feeling like I'm not interesting enough, or that there's something missing with me that people can sense, and that's why it never goes anywhere deeper. Maybe that’s my low self-esteem coming out. Maybe if I had higher self-esteem I wouldn’t take ghosting so badly. I’m still only 27, but I’m losing hope of actually finding someone. I'm so fed up with the interactions I’m having that I don't want to put myself out there as much. People keep disappointing me. So it’s like: ‘Is it really worth my peace to keep interacting with people?’ But I feel like I have to keep doing it. Because if I stop, then I'll get into this head space where I don't want to put myself out there again.’”",
"pageAdLibrary": {
"is_business_page_active": false,
"id": "102099916530784"
},
"inputUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl"
}
]

You can export this data in JSON, JSONL, CSV, XML, Excel, or HTML.

How many comments can it scrape?

You can expect to scrape 2,000–3,000 comments per post, depending on the structure and visibility of the post. However, results vary due to:

  • Post type (e.g. public post vs. private post)
  • Facebook’s dynamic comment loading
  • Pagination structure
  • Geographic or login-based restrictions

The best way to know how much data you'll get is to run a test scrape with your actual input. More details on maximizing your scraping results in the ❓ FAQ section.

What is the best Facebook scraper?

Need to scrape more than comments? These tools are built for different scraping needs across Facebook:

🌟 Facebook Reviews Scraper📝 Facebook Posts Scraper🔮 Brand Collaboration Scraper
📘 Facebook Pages Scraper👍 Facebook Likes and Reactions Scraperℹ️ Facebook Page Contact Information
🕵️‍♀️ Facebook Search Scraper🗓 Facebook Events Scraper👥 Facebook Groups Scraper
👀 Facebook Marketplace Scraper🕹 Facebook Games Scraper🎞 Facebook Reels Scraper
👥 Facebook Groups Scraper🏞 Facebook Photos Scraper🛍️ Facebook Ads Library Scraper
📹 Facebook Video Search Scraper👩‍💻 Facebook Followers&Following Scraper

❓ FAQ

Can I filter Facebook comments by date?

Yes. Use onlyCommentsNewerThan section to extract only comments newer than a selected date/time.

Supported formats:

  • YYYY-MM-DD
  • Full or partial ISO absolute timestamp (UTC)
  • Relative values such as 1 day, 2 months, 3 years, 1 hour, or 2 minutes

When onlyCommentsNewerThan is set, the scraper uses newest-first sorting (RECENT_ACTIVITY) so the filter works correctly.

Why do I see fewer comments than is seen on the Facebook post itself?

You might see fewer comments than what’s shown on the Facebook post itself because the Actor only gets public comments. If someone has privacy settings that hide their comments from the public, those won’t be scraped. Also, Facebook’s comment counter includes both top-level comments and all replies. So, especially on larger threads, it’s normal that the number of comments scraped is lower than the number shown by Facebook.

Why am I getting way more results than I had set in Results amount?

The Results amount limit covers both comments and their replies. The Actor can return up to 3 levels — comments, replies, and nested replies — so the total number of items can be higher than what you set.

How can I get the most comments possible using the Facebook Comments Scraper?

To maximize the number of comments scraped, make sure to enable replies (nested comments) and set sorting to "newest". Facebook’s total comment count includes public, private comments and replies, but the scraper can only access public ones. So if you’re seeing fewer results than the total shown, it’s likely due to private content you can’t scrape — not a bug or blocking issue.

Can the scraper get both public and private comments from Facebook, and what's the difference?

Yep, there is a difference! Public comments are visible to everyone and can be scraped. But if someone with a private profile leaves a comment, it might only be visible to their friends or followers—and not to the scraper. So if a post has 200 comments but the scraper only grabs 100, it’s likely the rest are from private accounts and can’t be accessed. We just assume those are private ones hiding in the shadows.

Can I use Facebook Comments Scraper through an MCP Server?

With Apify API, you can use 💬 Facebook Comments Scraper within your AI workflows. You can connect to the MCP Server using clients like ClaudeDesktop and LibreChat or build your own. Here's you can set up Facebook Scraper via Model Context Protocol (MCP) server, you should:

  1. Start a Server-Sent Events (SSE) session to receive a sessionId.
  2. Send API messages using that sessionId to trigger the scraper.
  3. The message starts the 💬 Facebook Comments Scraper with the provided input.
  4. The response should be: Accepted.

Can I integrate Facebook comments data with other apps?

Yes, Facebook Comments Scraper can be integrated with most tools and services via the Apify platform:

  • Zapier, Make, Slack, Airbyte, Google Sheets, Asana, GitHub, Keboola, and more
  • MCP for your AI agents and workflows
  • Webhooks to trigger actions on scrape completion
  • Apify API for full automation

Is there a simpler way to get Facebook comments directly on Make?

We have a dedicated make.com/en/integrations/apify-facebook-scraper with a Facebook Comments module, so you don’t need to set up the full Apify integration. It has a regular input schema and a few templates to start from. All you need to set it up is to add your Apify API token.

Can I export Facebook comments data using API?

Yes, you can access the extracted Facebook data through the Apify API. You’ll need an Apify account and your API token (available under Integrations settings in Console). Use your Apify API token to:

  • Schedule runs
  • Trigger scrapes on demand
  • Access datasets
  • Monitor runs and logs

You can access the API from Console or use apify-client for Python or Node.js. Click the API tab for code snippets.

Do I need proxies to scrape data from Facebook comments?

Yes, Facebook requires proxies for stable scraping. The scraper runs on Apify Proxy with residential IPs automatically when used on the platform. You don’t need to configure anything. Residential proxies are included with the Starter plan or higher.

Yes, as long as the data is public. Facebook Comments Scraper — and Apify's Facebook scrapers in general — only extract publicly available comments. They don’t access private data like DMs or closed groups.

That said, scraped content may still contain personal data. If you plan to store, process, or reshare that data, make sure you have a legitimate legal basis. Read our take on legal web scraping and ethical scraping.

Facebook Comments Scraper not working

Got a feature request, question, or bug to report? Drop us a note on the Issues tab — someone from the Apify team will address it shortly.