ENGINEPost reels through the Instagram API
The link
How to do it
- Host the finished mp4 on a public URL (Instagram downloads it from there).
- POST /<IG_ID>/media with media_type=REELS, video_url and caption: that makes a container.
- Check GET /<container_id>?fields=status_code about once a minute, for up to 5 minutes, until FINISHED (ERROR or EXPIRED means start again).
- Save the container id BEFORE you publish.
- POST /<IG_ID>/media_publish with creation_id. If the answer gets lost, check the saved container: PUBLISHED means it's live, never make a new one.
- Before a big batch, check GET /<IG_ID>/content_publishing_limit (Meta lists 100 API posts per rolling 24 h).