Noob question re: Instagram integration

Hi, I’m new to Ghost and I’d like to include a carousel of my latest Instagram photos on my Ghost homepage. I don’t want to put my Instagram access token in JavaScript so I want to query Instagram from the server-side before sending the page to the client. Does Ghost give me a way to make a server-side call out to the Instagram API to fetch the photos? How would I go about doing this? Thank you in advance.

Hey @decimal :wave:

Ghost doesn’t provide any additional server-side scripting. However, if your site is behind Cloudflare, you can set up Cloudflare Workers, or you can use other serverless offerings. You could also set up a cron script that updates the post every X minutes (which is something I’ve done in the past).

1 Like