Facebook Posts Scraper avatar

Facebook Posts Scraper

Try for free

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

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

I am not able to run scraper

Closed

thedataoutlier opened this issue
9 months ago

I am not able to run scraper from this https://www.facebook.com/USCPSC

Can you please help?

15

150andMe

9 months ago

I ran a small sample again a few hours later and still got same type errors.. Something about page not existing or blocked. This was on the facebook scrapper.. but i believe we get same results from the instagram scrapper.

alexey avatar

Hi! Hi! There was platform glitch, runs failed with 503 error (not access to KV Store), other actors was also affected. Fixed already.

Sample FB page now scraped as expected: https://console.apify.com/view/runs/Y12WgmQKngim4hrci Reported https://www.facebook.com/USCPSC page however fails https://console.apify.com/view/runs/3EyjBUQsBlUk8Qzuo because specific data format, working on fix, will keep you informed about the progress.

If there is more pages which not scraped please share references in comments, it will help to better identify issue and fix it faster.

Thanks for feedback!

alexey avatar

In runs logs I found and https://www.facebook.com/carlene.bills however for such cases actor getting no posts because page access limited, no data available without Facebook login. See screens from incognito browser attached.

TH

thedataoutlier

9 months ago

So I just tried again and I'm only able to get a few posts. I was trying to pull posts from this profile since March 2023 (previous 12 months). Is this possible?

alexey avatar

Hi! If you don't mind to skip newer posts (which fail because of specific format) actor works as expected: see sample re-run of your input https://console.apify.com/view/runs/ekjBJ5AzmEqNmIo8O with resultsLimit: 100, if you not setting it then actor will get only initial results (it's business logic, not a bug, actor user must directly choose how many posts and therefore CUs he wants)

alexey avatar

Hi! Fixed, see sample run https://console.apify.com/view/runs/jgKDzr272kzvuLfif

Issue was caused by so far unique post like https://www.facebook.com/USCPSC/posts/856415313196250 where internal data so complex that actor unable to parse it as regular JSON. To reproduce need to scrape page posts older than 2024-04-06 to reach post which failed in old version

Developer
Maintained by Apify

Actor Metrics

  • 1.2k monthly users

  • 215 stars

  • >99% runs succeeded

  • 6 days response time

  • Created in Nov 2022

  • Modified 7 days ago