Partial Outageshare-external
Instagram Basic Display API --- passing token via .env in production?
1

Hello, I am trying to deploy a MERN project with Instagram Basic Display API -- it works in development, but it fails to show images in production (Hostinger, VPS). Should the domain be https for it to work? Can I pass the token to the fetch() request from .env to Express.js (so in the back end) or it will trigger invalidation of the token? Thank you!

Natalia
Asked about 6 months ago