2. Create a Carousel Container
POST {{api_host}}/me/threads?media_type=CAROUSEL&children={{carousel_children_ids}}&text=This is a carousel
Use the POST
/{threads-user-id}/threads endpoint to create a carousel container.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
media_type | string | Set to CAROUSEL. This indicates that the container is for a carousel. | |
children | string | A comma-separated list of up to 20 container IDs of each image and/or video that should appear in the published carousel. Carousels can have at least 2 and up to 20 total images or videos or a mix of the two. | |
text | string | (Optional.) The text associated with the post. |