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

KeyDatatypeRequiredDescription
media_typestringSet to CAROUSEL. This indicates that the container is for a carousel.
childrenstringA 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.
textstring(Optional.) The text associated with the post.