How to retrieve all images from multiple photo post on Instagram

Kevin picture Kevin · Feb 27, 2017 · Viewed 23.2k times · Source

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.

Answer

krisrak picture krisrak · Feb 28, 2017

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