Facebook Posts Scraper avatar

Facebook Posts Scraper

Try for free

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

View all Actors
Facebook Posts Scraper

Facebook Posts Scraper

apify/facebook-posts-scraper
Try for free

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

Extract data from hundreds of Facebook posts from one or multiple Facebook pages and profiles. Get post URL, post text, page or profile URL, timestamp, number of likes, shares, comments, and more. Download the data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.

Do you want to learn more about this Actor?

Get a demo
WM

Redundant item in output

Closed

watch_my_competitor opened this issue
2 months ago

I'm getting strange item in output, with postUrl = https://www.facebook.com/api/graphql/

jakubkonecny avatar

Hello, that indeed looks like a bug. Thanks a lot for discovering it and creating an issue, we'll get to fixing it and keep you updated :)

alexey avatar

Hi!

Issue caused by custom proxy: assigned IP burned out and was permanently blocked by Facebook. Paging failed with max retires and error item was saved as last dataset item, it definitely should be changed to reflect situation in better way.

However actor can not resolve issues like the above. Apify proxies rotated and on blocking and posts scraped as expected, see sample re-run https://console.apify.com/view/runs/3WjHm0bpDFLQ53VOb

In case of custom proxy if you want to be able to get full results then custom proxy must accept session variables as URL parameters and multiple URLs should be passed in input.

So, to summarize, in your referenced run you using single proxy and as proxy provider explained https://faq.iproyal.com/en/articles/7215812-can-my-residential-proxies-get-blocked "sending a large number of requests to a specific website from a single proxy can result in an IP block"

Solution is to use Apify proxy or if you want to keep your custom proxy "Randomize IP option so each request comes from a different IP"

alexey avatar

Hi again, I'm going to close this issue for now, but if there's still anything unclear, please, let us know. We appreciate customer feedback!

Developer
Maintained by Apify

Actor Metrics

  • 1.5k monthly users

  • 187 stars

  • 99% runs succeeded

  • 3 days response time

  • Created in Nov 2022

  • Modified 3 days ago