Reputation: 931
Recently Instagram announced support for multiple photos post.
I tried with endpoint, GET /media/media-id
, but response has information about only one image.
Anyone is able to retrieve all images from single multiple photo post using their API?
Thanks.
Upvotes: 15
Views: 30676
Reputation: 196
Instagram API now supports the "multi photo" posts.
If a post is of type "multi photo", in the API the "type" property will now be with the value "carousel" and the "mediaData" property will contain "carousel_media" property with an array of the images (posts).
Upvotes: 4
Reputation: 12952
Not available in official API yet, but you can use the "Instagram Photo Page URL" and add ?__a=1
, this will give you JSON with all the multi-images in it.
For example:
https://www.instagram.com/p/BQ00n_BB7Dm/?__a=1
You will get JSON response with media.edge_sidecar_to_children.edges[]
will have all media urls and info
Upvotes: 26