HackAtUCI / Club-Site

Home Page:https://hack.ics.uci.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facebook Events API no longer returns aggregated events

taesungh opened this issue · comments

Discovered by a potential general member on September 25:

The Events page was unable to load events because the API proxy did not receive any events. We initially suspected the API key had expired, but after investigation, we discovered the API key was still active but providing only the club page ID instead of any events. CloudWatch logs indicate this has occurred since September 12 which coincides with the release of Facebook Graph API v18.0, although there is no indication that the events API would be deprecated. The API is still able to query data of individual events given an event ID but cannot provide all events.

We considered temporarily using a static payload of events, but the Facebook image URLs are only temporarily signed and will eventually expire (should be after one day). We could find another image hosting solution, but the events payload would need to be manually updated whenever marketing posts a new event.

Given the delays in the site migration to Next.js and Sanity (currently on HackAtUCI/hack.ics.uci.edu), we may need to temporarily pursue the Google Calendar integration suggested in #116.

Related Stack Overflow question: Facebook events graph API stopped working(Sep 2023)?