Facebook Comments Scraper (PPR)💬
Pricing
$2.00 / 1,000 comments
Facebook Comments Scraper (PPR)💬
💬 Scrape high-quality comments from public Facebook posts with detailed metrics like 👍 likes, 💬 reply count & ⏱ timestamps. Perfect for sentiment analysis, research, influencer tracking & social trend analysis. Export results as JSON, CSV, Excel, or HTML!
Pricing
$2.00 / 1,000 comments
Rating
0.0
(0)
Developer
Powerful Bachelor
Maintained by CommunityActor stats
7
Bookmarked
144
Total users
2
Monthly active users
6 days ago
Last modified
Categories
Features
Share
💬 What is Facebook Comments Scraper?
Facebook Comments Scraper collects the comments from public Facebook posts, photos, videos, reels and group posts, including share links. Paste one or more post URLs, choose how many comments you want, and get a clean dataset with the comment text, author, likes, reply count and timestamp for every comment. 🚀 No Facebook login, cookies or API key are needed.
Use it to understand how an audience reacts to a post, a campaign or a competitor, and export the results to JSON, CSV, Excel, XML or HTML. 📊
🧾 What data can you extract from Facebook comments?
| Data | What you get |
|---|---|
| 💬 Comment text | The full comment, emoji included |
| 🖼️ Attachments | Photos, videos, GIFs and stickers posted in the comment, with their file links |
| 🌐 Links | Web addresses written in the comment text |
| 🙋 Author | Name, profile ID, profile link and profile picture, plus gender and work information when Facebook shows them |
| 👍 Reactions | Total reactions on the comment, plus the exact count of each type: like, love, care, haha, wow, sad and angry |
| ↩️ Replies | How many replies a comment has, and (optionally) the replies themselves as their own rows |
| 🕒 Timestamp | Exact time of the comment as a UNIX timestamp |
| 🔗 Comment link | Direct link to the comment and the post URL you entered |
| 📡 Live video flag | Whether the comment was posted during a live video |
| 📌 Post info | The post's ID, the start of its text (when it has one) and the total number of comments Facebook reports |
🎯 What can you use Facebook comments for?
| Use case | How it helps |
|---|---|
| 📣 Brand monitoring | See what people say under your posts and spot complaints early |
| 🔍 Competitor research | Compare how audiences react to competitors' posts and launches |
| 🧠 Sentiment analysis | Feed comment text and reaction counts into your analysis or AI tools |
| 🎁 Giveaways and campaigns | Collect every entry or answer left under a post |
| 🛟 Customer support | Schedule Only new comments to catch new questions |
| 📊 Reporting | Export engagement data to spreadsheets and dashboards |
✨ Why use this Actor?
- 📚 Many posts in one run. Add as many URLs as you need and get one combined dataset.
- 🔀 Choose the order. The same three sort options Facebook offers: most relevant, newest, or all comments.
- 📅 Date filter. Get only the comments from the last 7 days, or since a date you choose.
- 🔔 Only new comments. For scheduled runs: get just the comments posted since your last run.
- 💬 Replies. Switch on Include replies to get the replies under each comment too, each linked to its comment.
- ✅ Clear results. If a URL in your list can't be read, the others still finish. The failed URLs and the reason for each are listed in the run's key-value store under
FAILED_URLS. - ☁️ Built on the Apify platform. Schedule runs, call it from the API, connect it to other tools and get notified when a run finishes.
🛠️ How to scrape Facebook comments
- 🔗 Open the Input tab and paste your post, photo, video or reel URLs into Start URLs.
- 🔢 Set Results Amount, the number of comments you want per URL.
- 🎛️ Optionally choose a Filter, an Only comments newer than value, or switch on Include replies.
- ▶️ Click Start and wait for the run to finish.
- 📥 Open the Output tab and download your data as JSON, CSV or Excel.
⚙️ Input
{"startUrls": ["https://www.facebook.com/NASA/posts/pfbid02uEeubA7rvs7vuNJYJFALz21974HCr3yj9NKv7iNLN8sNMKDRAK5fPmbyEFkp6irl"],"maxResults": 100,"filter": "newest","onlyCommentsNewerThan": "7 days","includeReplies": true,"maxRepliesPerComment": 10}
| Field | Description |
|---|---|
🔗 startUrls | Public Facebook post, photo, video, reel or group post URLs, and share links. Duplicates are skipped. |
🔢 maxResults | Number of items to return per URL, from 1 to 10,000. Default is 15. Replies count toward this number. |
🔀 filter | mostRelevant (default), newest or allRepliesChronological ("All comments"). See the sort options below. |
💬 includeReplies | Optional. Return the replies under each comment as separate rows. Default is off. |
🔢 maxRepliesPerComment | Optional. The most replies to return per comment, from 1 to 500. Default is 10. Only used when includeReplies is on. |
🔔 onlyNewComments | Optional. Return only the comments posted since the last run that used this option, for each URL. Comments are read newest first. Default is off. |
📅 onlyCommentsNewerThan | Optional. A date such as 2025-01-31, or a relative value such as 7 days, 2 weeks or 1 month. When set, comments are returned newest first. |
📤 Output example
Every comment is one item in the dataset (shortened here; items also include technical IDs such as feedback_id and commentor_id):
{"comment_id": "Y29tbWVudDoxMjM0NTY3ODlfOTg3NjU0MzIx","comment_text": "This is amazing, thank you for sharing!","likes_count": 235,"reactions": {"like": 190,"love": 30,"care": 5,"haha": 6,"wow": 2,"sad": 1,"angry": 1},"reply_count": 12,"is_reply": false,"parent_comment_id": null,"depth": 0,"created_time": 1719814023,"is_live_video_comment": false,"attachments": [{"type": "photo","media_url": "https://scontent.xx.fbcdn.net/...","thumbnail_url": "https://scontent.xx.fbcdn.net/...","url": "https://www.facebook.com/photo.php?fbid=...","title": null}],"links": ["https://example.com/offer"],"author": {"id": "100012345678901","name": "Jane Doe","url": "https://www.facebook.com/profile.php?id=100012345678901","gender": "FEMALE","work_info": null,"profile_picture_depth_0": { "uri": "https://scontent.xx.fbcdn.net/..." }},"comment_url": "https://www.facebook.com/...","input_url": "https://www.facebook.com/NASA/posts/...","post_id": "1234567890123456","post_title": "The first 200 characters of the post text","post_comments_count": 467}
- 🕒
created_timeis in seconds since 1970 (UNIX time). - 👍
likes_countis the total of all reactions on the comment, andreactionsbreaks it down by type. A type nobody used is0. - ↩️ Replies are rows too. They have
is_reply: true,depth1 or 2, andparent_comment_idset to thecomment_idof the top-level comment they belong to. - 📌
post_id,post_titleandpost_comments_countdescribe the post and repeat on every row.post_titleis empty (null) when the post has no text or caption.post_comments_countis the total Facebook shows, which can include replies. - 🔗
input_urlis the URL you entered, so you can match comments to posts when you scrape several. - 🖼️
attachmentsis an empty list when a comment has none.typeisphoto,video,gif,sticker,linkorother.titleholds the sticker description or the title of a shared link. - 🌐
linkslists the web addresses written in the comment text. - 👤
genderis what Facebook reports (MALE,FEMALE,NEUTERorUNKNOWN).work_infois usuallynullfor visitors who aren't logged in. - ⏳ Picture and video file links are temporary Facebook addresses. Download the files soon if you need to keep them.
🔀 Sort options
These are the three options Facebook offers on its own comment lists.
| Option | filter value | What you get |
|---|---|---|
| ⭐ Most relevant | mostRelevant | Friends' and the most engaging comments first. Some comments may be filtered out. |
| 🆕 Newest | newest | All comments, newest first. |
| 📜 All comments | allRepliesChronological | Every comment, including potential spam. |
🔔 Only new comments
Switch on Only new comments to get just what was posted since your last run, which suits scheduled runs and monitoring.
- ▶️ The first run returns the usual comments and sets the starting point for each URL.
- 🔁 Later runs return only newer comments and move the starting point forward. A run with nothing new finishes successfully with no results.
- 🗄️ The Actor remembers what it has already returned, privately in your own Apify account.
- 🛡️ If a run stops before reading every new comment (for example it reached Results Amount), nothing is marked as seen, so no comment is skipped next time.
- ↩️ New replies to older comments are not tracked. Replies to new comments are included when Include replies is on.
- 🔄 To start over, tick Start over for one run, then switch it off. That run returns the comments again (billed again) and sets a new starting point.
🔌 Use it through the API or an AI assistant
Start a run and get the comments back in one request. Replace <YOUR_API_TOKEN> with the token from your Apify account settings, and <ACTOR_ID> with the ID shown on this Actor's API tab.
curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items" \-H "Authorization: Bearer <YOUR_API_TOKEN>" \-H "Content-Type: application/json" \-d '{"startUrls": ["https://www.facebook.com/NASA/posts/pfbid02uEeubA7rvs7vuNJYJFALz21974HCr3yj9NKv7iNLN8sNMKDRAK5fPmbyEFkp6irl"], "maxResults": 20}'
This one-request method waits up to 5 minutes. For large runs, start the run and read its dataset when it finishes, as shown on the API tab.
🤖 To use it from an AI assistant that supports MCP, such as Claude, add this server address (replace <ACTOR_NAME> with the name in this page's address, after powerful_bachelor/) and sign in with your Apify account:
https://mcp.apify.com/?tools=powerful_bachelor/<ACTOR_NAME>
💰 How much does it cost to scrape Facebook comments?
You pay per result: a small fee for each run plus a fee for each item saved to the dataset. The exact rates for your plan are on the Pricing tab, and higher Apify plans pay less per comment.
| Example | Approximate cost at the Free-plan rate |
|---|---|
| 💬 100 comments | $0.20 |
| 💬 1,000 comments | $2.00 |
| 💬 10,000 comments | $20.00 |
🎁 A free Apify account includes monthly platform credit that you can use to try the Actor.
❓ FAQ
⚖️ Is it legal to scrape Facebook comments?
⚠️ Please respect the copyright and the terms of the websites you collect from. You are responsible for how you use the comments.
🔐 Does it need a Facebook login or cookies?
No. It works on public content only, so you don't have to share any account details.
🚫 Can it scrape private groups or private posts?
No. Only posts, videos and reels that anyone can see without logging in are supported.
↩️ Does it return the replies to each comment?
Yes, when you switch on Include replies. Each reply is its own row, linked to its comment with parent_comment_id. Replies count toward Results Amount and are billed like comments. With it off, you still get a reply_count for every comment.
🙈 Why does a comment show 5 replies but I get fewer?
Facebook only shows some replies to visitors who aren't logged in. The reply_count is the number Facebook reports, and the replies returned are the ones it makes visible.
🔢 Why do I get fewer comments than the number shown on Facebook?
Facebook doesn't show every comment to every viewer. Hidden, filtered or removed comments can't be collected, and the number on a post often includes replies.
🔗 Which links work?
Public posts, reels, videos, photos and public group posts, as well as Facebook share links, fb.watch links and mobile links (m.facebook.com). Some old or restricted posts ask for a login even when you are not logged in, and those cannot be read.
⏱️ My large run stopped before it finished. Why?
A run has a time limit, 5 minutes by default, which fits about 3,000 comments. For more, raise Timeout in the run options before you start. 10,000 comments need about 20 minutes.
🔌 Can I schedule it?
Yes. Use the Schedules and Integrations options to run it automatically and send the data to other tools.
🧰 Other Actors by powerful_bachelor
| Actor | What it does |
|---|---|
| 👥 Facebook Groups Scraper | Posts and engagement from public Facebook groups |
| 📄 Facebook Pages Scraper | Page data, posts and engagement from public Facebook pages |
| ⭐ Facebook Reviews Scraper | Ratings and reviews from Facebook pages |
| 📞 Facebook Page Contact Info Scraper | Addresses, emails and phone numbers from Facebook pages |
| 🎬 Facebook Profile Reels Scraper | Public reels from Facebook profiles, with captions and stats |
| ▶️ YouTube Comments Scraper | Comments from YouTube videos |
| 📸 Instagram Tagged & Mentions Posts Scraper | Posts where an Instagram account is tagged or mentioned |
🤝 Support
Found a problem or need another field? Open a ticket in the Issues tab of this Actor and include the run ID. We read every ticket and aim to reply within 24 hours. ⏳ If you need a custom version for your project, tell us about it there.