Facebook Comments Scraper avatar

Facebook Comments Scraper

Try for free

7 days trial then $40.00/month - No credit card required now

View all Actors
Facebook Comments Scraper

Facebook Comments Scraper

apify/facebook-comments-scraper
Try for free

7 days trial then $40.00/month - No credit card required now

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.

Do you want to learn more about this Actor?

Get a demo
PB

To many items in dataset

Closed

pascal_burda opened this issue
2 months ago

I scraped with this the following URL's:

In total there a round about 400 comments but the "Facebook Comment Scraper" scrapt over 1500 Results (If I hadn't stopped it, there would have been a lot more.) When I analyze the data in Excel, I can see that there are a lot of duplicate comments. Also if I scrape just one URL I have the same problem.

Kind regards Pascal

jakubkonecny avatar

Hello, thank you for your feedback. The way resultsLimit works is that it applies for each directUrl supplied, so in this case your resultsLimit was set to 1000, and the amount of URLs supplied was 3, which results in potential maximum of 3000 comments :)

You are right that there seems to be duplicates. We'll investigate this futher and get back to you :)

alexey avatar

Hi!

Facebook killed scrolling for root comments over this weekend. Scrolling for replies still works at least partially, up to 100 replies per comment confirmed.

So currently getting max comments per single run is to use "Most relevant" sorting which will bring root comments as top results and then get all nested comments as well, sample: https://console.apify.com/view/runs/3c7zPRoPlsE2aqPys

PB

pascal_burda

2 months ago

Thank you guys for the quick reply. @Alexy: If I understand correctly, I can leave “Results amount” blank and use “Top Ranked” and get over 100 comments with sub-comments? This way I get the maximum possible comments. Is that correct?

alexey avatar

Hi!

That's correct, see sample run https://console.apify.com/view/runs/IpRvDA7Zmx4A6x9Ew

Nested replies in current version always scraped to maximum because total results already limited. In other words results amount only applied to root comments, you can get less than 10 if you want.

Developer
Maintained by Apify

Actor Metrics

  • 538 monthly users

  • 69 stars

  • >99% runs succeeded

  • 3.3 days response time

  • Created in Nov 2022

  • Modified 17 hours ago