Facebook Comments Scraper (PPR)💬 avatar

Facebook Comments Scraper (PPR)💬

Pricing

$2.00 / 1,000 comments

Go to Apify Store
Facebook Comments Scraper (PPR)💬

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

Powerful Bachelor

Maintained by Community

Actor stats

7

Bookmarked

144

Total users

2

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Actor status

💬 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?

DataWhat you get
💬 Comment textThe full comment, emoji included
🖼️ AttachmentsPhotos, videos, GIFs and stickers posted in the comment, with their file links
🌐 LinksWeb addresses written in the comment text
🙋 AuthorName, profile ID, profile link and profile picture, plus gender and work information when Facebook shows them
👍 ReactionsTotal reactions on the comment, plus the exact count of each type: like, love, care, haha, wow, sad and angry
↩️ RepliesHow many replies a comment has, and (optionally) the replies themselves as their own rows
🕒 TimestampExact time of the comment as a UNIX timestamp
🔗 Comment linkDirect link to the comment and the post URL you entered
📡 Live video flagWhether the comment was posted during a live video
📌 Post infoThe 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 caseHow it helps
📣 Brand monitoringSee what people say under your posts and spot complaints early
🔍 Competitor researchCompare how audiences react to competitors' posts and launches
🧠 Sentiment analysisFeed comment text and reaction counts into your analysis or AI tools
🎁 Giveaways and campaignsCollect every entry or answer left under a post
🛟 Customer supportSchedule Only new comments to catch new questions
📊 ReportingExport 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

  1. 🔗 Open the Input tab and paste your post, photo, video or reel URLs into Start URLs.
  2. 🔢 Set Results Amount, the number of comments you want per URL.
  3. 🎛️ Optionally choose a Filter, an Only comments newer than value, or switch on Include replies.
  4. ▶️ Click Start and wait for the run to finish.
  5. 📥 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
}
FieldDescription
🔗 startUrlsPublic Facebook post, photo, video, reel or group post URLs, and share links. Duplicates are skipped.
🔢 maxResultsNumber of items to return per URL, from 1 to 10,000. Default is 15. Replies count toward this number.
🔀 filtermostRelevant (default), newest or allRepliesChronological ("All comments"). See the sort options below.
💬 includeRepliesOptional. Return the replies under each comment as separate rows. Default is off.
🔢 maxRepliesPerCommentOptional. The most replies to return per comment, from 1 to 500. Default is 10. Only used when includeReplies is on.
🔔 onlyNewCommentsOptional. Return only the comments posted since the last run that used this option, for each URL. Comments are read newest first. Default is off.
📅 onlyCommentsNewerThanOptional. 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_time is in seconds since 1970 (UNIX time).
  • 👍 likes_count is the total of all reactions on the comment, and reactions breaks it down by type. A type nobody used is 0.
  • ↩️ Replies are rows too. They have is_reply: true, depth 1 or 2, and parent_comment_id set to the comment_id of the top-level comment they belong to.
  • 📌 post_id, post_title and post_comments_count describe the post and repeat on every row. post_title is empty (null) when the post has no text or caption. post_comments_count is the total Facebook shows, which can include replies.
  • 🔗 input_url is the URL you entered, so you can match comments to posts when you scrape several.
  • 🖼️ attachments is an empty list when a comment has none. type is photo, video, gif, sticker, link or other. title holds the sticker description or the title of a shared link.
  • 🌐 links lists the web addresses written in the comment text.
  • 👤 gender is what Facebook reports (MALE, FEMALE, NEUTER or UNKNOWN). work_info is usually null for 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.

Optionfilter valueWhat you get
⭐ Most relevantmostRelevantFriends' and the most engaging comments first. Some comments may be filtered out.
🆕 NewestnewestAll comments, newest first.
📜 All commentsallRepliesChronologicalEvery 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.

ExampleApproximate 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

⚠️ 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.

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

ActorWhat it does
👥 Facebook Groups ScraperPosts and engagement from public Facebook groups
📄 Facebook Pages ScraperPage data, posts and engagement from public Facebook pages
⭐ Facebook Reviews ScraperRatings and reviews from Facebook pages
📞 Facebook Page Contact Info ScraperAddresses, emails and phone numbers from Facebook pages
🎬 Facebook Profile Reels ScraperPublic reels from Facebook profiles, with captions and stats
▶️ YouTube Comments ScraperComments from YouTube videos
📸 Instagram Tagged & Mentions Posts ScraperPosts 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.