Facebook Posts/Comments Scraper avatar
Facebook Posts/Comments Scraper

Pricing

$25.00/month + usage

Go to Store
Facebook Posts/Comments Scraper

Facebook Posts/Comments Scraper

Developed by

Alien Force

Alien Force

Maintained by Community

Facebook Post Scraper with Comments extracts Facebook post details, including text, author info, likes, shares, and media. It also scrapes comments with user details, engagement metrics, and timestamps. Ideal for social media monitoring, sentiment analysis, and audience insights.

0.0 (0)

Pricing

$25.00/month + usage

5

Total users

84

Monthly users

33

Runs succeeded

90%

Issues response

5.8 hours

Last modified

11 days ago

CH

Didn't receive data of post even the post is available publicly.

Closed

chintanbhavsar opened this issue
14 days ago

I am using a scraper to extract data from Facebook posts. I'm performing this in bulk, for example, fetching 15 posts simultaneously.

The problem I'm encountering is that for some posts, I'm not receiving any data. Initially, I suspected this might be due to an insufficient wait time between requests, so I increased it to 6 seconds. However, even after this adjustment, I still failed to retrieve data for a particular post during my last run.

I need assistance in resolving this matter as soon as possible.

alien_force avatar

Hi, Thanks for providing the necessary information. The issue has been added to the priority queue and will come up with a solution as soon as possible. I will let you know with the updates, Thanks

alien_force avatar

Good evening,

Problem Statement

The issue occurs when using Facebook shareable links, such as:

https://www.facebook.com/share/r/15aEw4qsDi

These links redirect to actual content like:

https://www.facebook.com/reel/1217484656686466

While the scraper handles redirects, Facebook checks the source of the request for these /share/ links. If it comes from a datacenter proxy or no proxy, Facebook may block the request and show an authentication page.


✅ Solution (What You Should Do)

You can resolve this issue in one of two ways:

  1. Avoid using shareable links or use the redirected URL of this link (i.e., links containing /share/)
    → This is the best and recommended option.

  2. Use residential proxies


🧪 Test Results

TestProxy TypeResultLink
Run 1Datacenter Proxy❌ FailedView Run
Run 2No Proxy❌ FailedView Run
Run 3Residential Proxy✅ SuccessfulView Run

This solution applies only to Facebook shareable URLs. Other types of URLs should work normally.

If you experience any further issues, feel free to open a new request.

Thanks!

CH

chintanbhavsar

12 days ago

Thank you for your comprehensive response. I want to clarify that I am already utilizing residential proxies in my scraping setup.Below is a snippet of my current configuration: { "resultsLimit": 1, "resultsType": "details", "comments_limit": 0, "min_wait_time_in_sec": 1, "max_wait_time_in_sec": 4, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] } }

During my recent runs, most of the links I'm processing are 'shareable links'. However, I'm consistently observing 'no data' for only two or three specific links out of a larger batch.

Could you please provide appropriate solutions to address this specific issue?

alien_force avatar

Hi,

Apologies for my late response.

Could you give me a hint and pass me the kind of urls that fail to be scrapped.

You have also mentioned that you already pass a large batch for one run, if possible, provide me with the whole input data. It will be much easier for me to track the issue and submit a valid solution for it. As for now I see everything works properly even with large batches but might not be the same use case as you have.

Looking forward for your reply 🤝

CH

chintanbhavsar

11 days ago

Hi,

Thanks for your response.

Let me make it more clear to by giving you one example from my recent run you can find detailed run information by visiting this link https://console.apify.com/actors/d6G2Zv1fgn6rhggOa/runs/kqcEv1IG8ebR1RLcz

In this run below are my input urls with configuration

{ "post_urls": [ { "url": "https://www.facebook.com/share/v/1Pxa3sLKQH", "method": "GET" }, { "url": "https://www.facebook.com/share/v/19zDcGD1xx", "method": "GET" }, { "url": "https://www.facebook.com/share/v/1Ct5LpHtKU", "method": "GET" }, { "url": "https://www.facebook.com/share/r/15aEw4qsDi", "method": "GET" }, { "url": "https://www.facebook.com/share/r/18sa6u2Krr", "method": "GET" }, { "url": "https://www.facebook.com/share/r/1DbKqiSomk", "method": "GET" }, { "url": "https://www.facebook.com/share/v/1FfrQZYoPG", "method": "GET" }, { "url": "https://www.facebook.com/share/v/1BxJrbKuX4", "method": "GET" }, { "url": "https://www.facebook.com/share/r/15M8yv4UgJ", "method": "GET" }, { "url": "https://www.facebook.com/kanakapurataluknews/videos/680971341217253", "method": "GET" }, { "url": "https://www.facebook.com/share/v/16bd9CVa8L", "method": "GET" }, { "url": "https://www.facebook.com/share/v/16dVnBWwp6", "method": "GET" } ], "resultsLimit": 1, "resultsType": "details", "comments_limit": 0, "min_wait_time_in_sec": 1, "max_wait_time_in_sec": 4, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] } }

As you can see most of the links are share links, and I'm able to get data from almost all of them (9 successful out of 12). Only a few links yield no data. You can find a more detailed error log in the attached screenshot. You'll notice that the errored posts are not even share links. If the problem were with share links, then why do some share links provide data while others don't? Additionally, I've used a residential proxy to prevent this, yet I'm still unable to retrieve data for a few posts.

Please provide the solution for this.

Thank You.

alien_force avatar

Good evening,

Thanks for providing me with such rich info. I have marked this issue as a detection issue and provided a valid solution for it.

These are two runs with the same input provided from your side:

  1. https://console.apify.com/view/runs/EDvaYc9H7Pyhq04bu
  2. https://console.apify.com/view/runs/ZdcBzGy0L6VYFQrKW