Facebook Groups Scraper avatar

Facebook Groups Scraper

Try for free

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

View all Actors
Facebook Groups Scraper

Facebook Groups Scraper

apify/facebook-groups-scraper
Try for free

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

Extract data from one or multiple public Facebook groups. Get group and post URLs, post text, comments, timestamp, likes and comments count, and basic commentator info. 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
AL

Crawling on a specific time range

Closed

amit_lavi_99 opened this issue
a month ago

Is it possible to crawl over a specified time range? Because my cron job crashed and I have to crawl to fetch information at specified hours that the job was down. For example on 12.08.24 between 3-8 PM. I didn't find a way to set it in the parameters, but I saw an option only to set how much time back I want and not a set time range. This is a critical matter for me and for the availability and hermeticity of my application.

jakubkonecny avatar

Hello, you can use onlyPostsNewerThan and onlyPostsNewerThan fields in the input, which takes a date (for example in a string form) as a value. Hope this helps :)

AL

amit_lavi_99

a month ago

You wrote the same field twice, maybe you meant onlyPostsOlderThan in the second occurrence?

בתאריך יום ד׳, 14 באוג׳ 2024 ב-18:04 מאת Jakub Konečný < topic+i4gakg5j4xcboztjjv@reply.apify.com>:

jakubkonecny avatar

You are totally right, I forgot to edit the second field. Yes, it's onlyPostsNewerThan and onlyPostsOlderThan :)

AL

amit_lavi_99

a month ago

Thank you! Can u give me an example of dates input. In instance, how to input the date 14.8.24?

בתאריך יום ד׳, 14 באוג׳ 2024 ב-19:14 מאת Jakub Konečný < topic+i4gakg5j4xcboztjjv@reply.apify.com>:

jakubkonecny avatar

{ "onlyPostsNewerThan": "2024-8-14" } Should work :)

AL

amit_lavi_99

a month ago

Thank you! Can I specify a specific hour?

בתאריך יום ה׳, 15 באוג׳ 2024 ב-2:29 מאת Jakub Konečný < topic+i4gakg5j4xcboztjjv@reply.apify.com>:

jakubkonecny avatar

Yes, with this formatting it should consider time too.

{ "onlyPostsNewerThan": "2024-08-15T09:57:40.515Z" }

Developer
Maintained by Apify
Actor metrics
  • 504 monthly users
  • 37 stars
  • 99.7% runs succeeded
  • 2.1 days response time
  • Created in Nov 2022
  • Modified 1 day ago