Instagram Publishing API
Content creation and publishing workflow
Operations 4
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“What's the first step to post a photo to Instagram through the API?”
“Can I add a caption, location and user tags when staging a post?”
Tell an agent
Create a media container for account {user_id} from image {image_url} with caption {caption}.
Stage video {video_url} of type {media_type} for account {user_id}.
POST
/{user_id}/media_publish
Publish a prepared media container · Instagram Publish Media Container
#
Ask an LLM
“Once my container is ready, how do I actually make the post go live?”
“What's the final step of the two-step Instagram publishing flow?”
Tell an agent
Publish container {creation_id} to account {user_id}.
Make staged post {creation_id} live on account {user_id}.
GET
/{user_id}/content_publishing_limit
Check how many posts I can still publish · Instagram Get Content Publishing Limit
#
Ask an LLM
“How close am I to the publishing rate limit on my account?”
“Can I check my current content publishing usage before posting more?”
Tell an agent
Show the content publishing limit usage for account {user_id}.
Check the publishing quota for account {user_id} with fields {fields}.
Ask an LLM
“Is my uploaded video container finished processing and ready to publish?”
“Why hasn't my staged post published yet — what status is its container in?”
Tell an agent
Check the publishing status of container {container_id}.
Get fields {fields} for media container {container_id}.
Documentation
Documentation
https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login
GettingStarted
https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/get-started
APIReference
https://developers.facebook.com/docs/instagram-api/reference
Authentication
https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/business-login
Documentation
https://developers.facebook.com/docs/instagram-api/
Authentication
https://developers.facebook.com/docs/instagram-api/overview#authentication