Facebook Posts Scraper
7 days trial then $35.00/month - No credit card required now
Facebook Posts Scraper
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 demoI was crawling Facebook posts within a date range specified using 'onlyPostsNewerThan' and 'onlyPostsOlderThan'. During the run, I noticed that posts that fall outside the specified range were being crawled, exceeding the expected runtime. I checked a couple of URLs to make sure that the posts were posted after the specified date range.
Hi!
Issue confirmed, it happens when posts scraped from personal profiles instaed of pages, i.e. out of date range https://www.facebook.com/hoonster21/posts/pfbid0x8di4eNr3AfPheqVuGUzrTCoY68H5zR78uCAfAZPCU7eS41Zbii8otK38o8kgX3pl https://www.facebook.com/kangkorea119/posts/pfbid0cu3ziPm2k7LvAXSx8h6TzYr9dMY5chJtRrog99Y7MPNmzYdRo9AbvjEgywc9P8Zxl Need to upgrade logic to handle personal profiles correctly
Will keep you informed about the progress
Thank you for reply! I'll await your update. Just to clarify: does it not scrape posts out of date range if it is a page and not a profile? If it correctly scrapes posts for a Facebook page, then is there a way to identify whether it is a page or a profile from the scraped information?
Hi!
For pages there was no such issue reported and as far as tested dates range is correct when applied to pages. To identify type please check "about" section: https://www.facebook.com/NintendoAmerica/about If you see "Page transparency" sub-category then its page, if not i.e. https://www.facebook.com/kangkorea119/about or https://www.facebook.com/ggotop/about - its profile (you can clearly see the difference by other categories as well).
I see, thank you. Please let me know when date ranges are handled correctly for personal profiles!
Hi!
Please try again, issue was caused by incorrect date mapping, so posts itself was in input date range, but time
value saved incorrectly.
Sample run https://console.apify.com/view/runs/chOFTtKESQ4QXSdfk
Expected "onlyPostsOlderThan": "2016-05-30"
so in dataset https://api.apify.com/v2/datasets/IUwBxiP4X7SeC6R97/items?clean=true&format=json&limit=2 same as in Facebook profile when filtering by date specified (see attached screen)
Please note that for https://www.facebook.com/hoonster21/posts/pfbid0327qzDhe6MAY3dRaNrEbywJrKgD4pg3HDetUEYxVMjc6TeyotRC97iFr5JNY25Rocl timeCreated: "2016-05-19T15:00:00.000Z"
and time: "2019-05-23T07:01:28.000Z
- means its scheduled post, marked by "clock" icon in Facebook interface.
I´m going to close the issue now, but if there would be anything else we could help with, please let us know.
Follow up:
Life events from profile(s) now mapped like this: https://console.apify.com/view/runs/VY8dy5jU7v3c4EuKA
Actor Metrics
1.2k monthly users
-
230 stars
>99% runs succeeded
3.3 days response time
Created in Nov 2022
Modified 6 days ago