Publish media to Instagram via the Instagram Graph API

Stefan Pöltl
3 min readMar 2, 2023

Instagram supports to publish different kind of contents to a business account programmatically, but to get everything working you have to do some preperation. I focus to avoid any SDK or dependencies, simple cURL commands are enough and can be implemented in any programming language.

3 steps to get started

Content publishing via the Graph API needs the following 3 step setup:

1. Business Instagram account(Creator accounts aren’t supported)

Profile -> Edit profile -> Switch to professional account

2. A Facebook page linking to the Instagram account

3. A Facebook App with the business login and Instagram API added

Long live the token :)

--

--