Facebook Posts Scraper avatar
Facebook Posts Scraper

Pricing

$29.99/month + usage

Go to Store
Facebook Posts Scraper

Facebook Posts Scraper

Developed by

Jan Danecki

Maintained by Community

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.

5.0 (1)

Pricing

$29.99/month + usage

13

Monthly users

46

Runs succeeded

>99%

Last modified

6 months ago

SM

always failed for some profile

Closed

snazzy_monument opened this issue
7 months ago

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.

danek avatar

Hello! Thanks for that report. I will check it.

Sorry for long response time, I was on holiday

SM

snazzy_monument

7 months ago

thx for your work. hope it can be fixed.

danek avatar

it's fixed now

SM

snazzy_monument

7 months ago

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

danek avatar

sure, can you give me your input?

SM

snazzy_monument

7 months ago

{ "max_posts": 10, "max_retries": 5, "proxy": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] }, "urls": [ { "url": "https://www.facebook.com/globaltimesnews" } ] }

danek avatar

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

SM

snazzy_monument

7 months ago

It still failed to scrape the posts with the latest release. could you tell me how to make this work

https://console.apify.com/view/runs/gFn8eVfjgT7kUqzQ1

danek avatar

You can try now

SM

snazzy_monument

7 months ago

thanks, I will try it now

SM

snazzy_monument

7 months ago

still failed... please have a look at the run detail https://console.apify.com/view/runs/EQ5b0dl4WntDCLcgg

danek avatar

okay, my bad. Now it should push data correctly

SM

snazzy_monument

7 months ago

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

SM

snazzy_monument

7 months ago

you can try to run the actor with the input in sample, you will find the failed result.

danek avatar

could you post link to run?

danek avatar

I added a few more checks, you can try now

SM

snazzy_monument

7 months ago

It works perfectly now. thanks a lot.

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

3 days

Price

$29.99