Facebook Posts Scraper
3 days trial then $9.99/month - No credit card required now
Facebook Posts Scraper
3 days trial then $9.99/month - No credit card required now
Scrap Facebook posts fast and easy. This actor is a lightweight version of the Facebook Posts actor. It is designed to be fast and efficient, so it can extract a large number of events for low price. It is also less likely to be blocked by Facebook.
2024-09-21T10:01:27.786Z ERROR Actor failed with an exception 2024-09-21T10:01:27.833Z File "/usr/src/app/src/fb_minimal_post_parser.py", line 241, in __parse_post 2024-09-21T10:01:27.844Z timestamp = metadata['creation_time'] 2024-09-21T10:01:27.847Z ~~~~~~~~^^^^^^^^^^^^^^^^^ 2024-09-21T10:01:27.849Z KeyError: 'creation_time'
it seems that the actor want to get the 'creation_time' value but it doesn't exists.
Hello! Thanks for that report. I will check it.
Sorry for long response time, I was on holiday
thx for your work. hope it can be fixed.
it's fixed now
I tried at once. It seems the actor still throw exception as follows and I can't get the posts of the channel.
File "/usr/src/app/src/fb_minimal_post_parser.py", line 214, in __get_posts_from_page 2024-09-23T10:09:15.683Z node = edge['data']['node']['timeline_list_feed_units']['edges'][0]['node'] 2024-09-23T10:09:15.685Z ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ 2024-09-23T10:09:15.687Z IndexError: list index out of range
sure, can you give me your input?
{ "max_posts": 10, "max_retries": 5, "proxy": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] }, "urls": [ { "url": "https://www.facebook.com/globaltimesnews" } ] }
It was bug due to recent FB changes. I will monitor this but let me know if there will be any issues in future! It should be fixed in 1.5.17
It still failed to scrape the posts with the latest release. could you tell me how to make this work
You can try now
thanks, I will try it now
still failed... please have a look at the run detail https://console.apify.com/view/runs/EQ5b0dl4WntDCLcgg
okay, my bad. Now it should push data correctly
the results are still too less than the posts in the channel. I tried to fetch 2000 posts from the channel, while only 84 posts were fetched. There're nearly thound results from 09-01 to now. how can I get enough results? thx
you can try to run the actor with the input in sample, you will find the failed result.
could you post link to run?
I added a few more checks, you can try now
It works perfectly now. thanks a lot.
- 53 monthly users
- 9 stars
- 100.0% runs succeeded
- 7.6 hours response time
- Created in Mar 2024
- Modified 13 days ago