Upload a Reel to an IG Container
POST https://graph.facebook.com/{{api_version}}/{{ig_user_id}}/media?media_type=REELS&video_url={{video_url}}&caption=Hello World!&share_to_feed=false&access_token={{page_access_token}}
This request will create an IG Container to hold the Reel. It will return a container_id
that will be automatically placed into the ig_container_id
variable. The media_type
parameter will determine the type of video published, in this case REELS. It is important that the link in the video_url
variable is accessible publicly as we will cURL the video from the server.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
media_type | string | ||
video_url | string | ||
caption | string | ||
share_to_feed | boolean | If set to true, the reel will appear in both the Feed and Reels tab. If it's set to false, it will only appear in the Reels tab. | |
access_token | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
User-Agent | string |
RESPONSES
status: OK
{"id":"18270815569115548"}