I have a nextjs 14 web app which shows an instagram feed. To load the feed I implemented the Instagram Basic Display API. Currently I use an external service (Google Secrets Manager) to store the long lived access token for the Instagram Basic Display API and I refresh it using a cloud function. The whole solution was suggested 2 years ago here on stack overflow: How to refresh Instagram Basic Display API token automatically? Since nextjs can...
Originally asked by krm42 on Stack Exchange (stackoverflow) (CC BY-SA 4.0).