FYDP-1nil / backend

Fourth Year Design Project @ UWaterloo
https://www.eng.uwaterloo.ca/2023-capstone-design/electrical-computer/
3 stars 1 forks source link

[Scheduler] Update Facebook access token right before demo on March 3rd #42

Open Shreyas15srivatsa opened 1 year ago

Shreyas15srivatsa commented 1 year ago

@KnotScientific This is a bit of a mess. Seems like Facebook API is constantly invalidating out session access token. @madhur4444 reached out to their support and they said our account is receiving more invalidations than it normally should. They invalidate for security reasons, and it could be because at one point Madhur posted several posts in a burst while testing.

A workaround for this is to create a new access token right before our demo on 3rd March, and push the token to main. Little dicey but will have to do for the demo. Maybe for symposium, we can explore alternative ways to get short-lived tokens programmatically through Facebook graphAPI endpoints.

@KnotScientific lmk your thoughts.

_Originally posted by @Shreyas15srivatsa in https://github.com/FYDP-1nil/backend/pull/41#discussion_r1117809805_