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
VH

No output. Not even 1

Closed

vivid_hawk opened this issue
a month ago

The actor just shuts down. Before it could scrape the top 10 comments. So I tried to run post with only 1-10 comments. But no output.

Also: I can suddenly scroll on comments in incognito mode. I can see all comments here in incognito mode: https://www.facebook.com/780090080820568/posts/801984745297768

jakubkonecny avatar

Hello, could you please link the run where you werent able to scrape any comments?

Thank you for the information about scrolling, we will see if that can help our scraper :)

VH

vivid_hawk

25 days ago

Thanks!

tN7ZbhwN9MjjoFouV

alexey avatar

Hi!

In your run https://console.apify.com/view/runs/tN7ZbhwN9MjjoFouV you provided big batch of URLs from file named "less_than_15_comments.txt"

So as first step actor getting all the URLs to validate public access and when post is not available error dataset item saved in format

1{
2  "url": "https://www.facebook.com/894375652689091/posts/921543269972329",
3  "error": "not_available",
4  "errorDescription": "This content isn't available because the owner only shared it with a small group of people or changed who can see it, or it's been deleted."
5}

As far as I tested all URLs which failed with error really not available when opened in incognito browser (access must be checked without Facebook login). Actual comments will be scraped when 9.000 initial URLs fully processed. Tested single posts https://www.facebook.com/747039650800537/posts/825976249573543 and it works fine, sample run https://console.apify.com/view/runs/IzWo8lQ9taCjFU73m

Please resurrect your run or make smaller runs for smaller lists of URLs. Also please make sure to use latest build.

I´m going to close the issue now, but if there would be anything else we could help with, please let us know.

VH

vivid_hawk

24 days ago

Okay.

When I run just this URL:

https://www.facebook.com/780090080820568/posts/801984745297768

ID: 8qZDJRTJ9CvyyoVZ7

Also outputs 0 results because of "2024-10-28T20:16:07.351Z WARN No public data available without Facebook login or access rights"

But I can see ALL 57 comments in the incognito browser.

alexey avatar

Hi!

Thanks a lot for reporting this case - in old version there was no proper support for posts like https://www.facebook.com/780090080820568/posts/801984745297768 when two sorting options available instead of three (Most relevant - Oldest VS Most relevant - Newest - All). Before such cases returned empty results, now picked up automatically.

Sample run: https://console.apify.com/view/runs/eII5klrKnSTg3Xv7h

Developer
Maintained by Apify

Actor Metrics

  • 538 monthly users

  • 69 stars

  • >99% runs succeeded

  • 3.3 days response time

  • Created in Nov 2022

  • Modified 18 hours ago