Hard-Dance/hard-dance

Automatically pull event data

Opened this issue · 0 comments

Currently all events shown are manually added. We need to either scrape or use Facebook Events APIs to pull event data from our list of hosts. Additional things to consider:

  • Most events on Facebook have an address, but some have geo coordinates. We will need to translate geo coordinates to an actual address.
  • Event data sometimes changes after being published on Facebook. We will need to re-check to make sure we're always up-to-date.
  • Events on Facebook sometimes have unnecessarily long names. Example: Defqon.1 Weekend Festival 2024 | Power of the Tribe. After the event data is pulled, maybe it goes through a PR process that gives admins the opportunity to correct data and rename to something simpler. Example: Defqon.1 Weekend Festival 2024.
  • Currently all manually added events do not include a time. We can add time, but we need to be cautious of timezones.
  • For single day events, I only put the day the event starts. For multi-day events, I added start and end dates. Most single day events may go past midnight causing it to appear as a multi-day event.