Facebook Comments Scraper avatar

Facebook Comments Scraper

Try for free

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

Go to Store
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
BU

Getting fewer comments because actor not expecting more than 10 comments

Open

build_up opened this issue
3 months ago

We've gotten the warning WARN From 23 of September 2024 scrolling for comments not available without Facebook login.

Since then I've only been able to get the first 10 comments of posts that have between 10 and ~500 comments, with the warning

WARN Not expecting more than 10 root comments, in order to get more please use sorting and scrape nested replies

The posts with 1000+ comments use the GraphQL method, and work fine, but the ones with a few more than 10 comments are stuck on 10 comments. Is there a way to enforce using GraphQL? I've tried all the sorting options, and turned on scrape nested replies

An example is trying to scrape https://www.facebook.com/permalink.php?story_fbid=pfbid02bVYftR2KDYMUKG7y5zejssbcUH8tzGzNv36ts95cMydgEMWzFTXhtNbAYfL9LaXl&id=61550640579177 which has 542 comments, gets this warning and only returns 10 comments +4 replies to comments

jakubkonecny avatar

Hello, Facebook changed it's API replies.

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

BU

build_up

3 months ago

Ouch, do you have any new features/workarounds on the roadmap to combat their new changes?

Developer
Maintained by Apify

Actor Metrics

  • 567 monthly users

  • 83 stars

  • >99% runs succeeded

  • 3.2 days response time

  • Created in Nov 2022

  • Modified a day ago