0

I have to fetch all photos and videos of a public user in instagram and download them in my android app.

I used https://api.instagram.com/<username>/media/ before and it worked fine. But now I cant use this to get media of users and it does not work. So I found https://www.instagram.com/<username>/?__a=1, it works fine. But it cant get video files. Does any body know how can I get all user media?

example: https://www.instagram.com/ibm/?__a=1

Eugene Lisitsky
  • 12,113
  • 5
  • 38
  • 59
saleh mosleh
  • 135
  • 1
  • 14
  • Not sure if that is possible. But mind you the above `__a=1` url gives only recent ones. does not support pagination or can retrieve full media – enator Nov 27 '17 at 17:03
  • @enator , whats your idea about getting all media?. also by `__a=1` we can use `&max_id=?` in url to pagination. – saleh mosleh Nov 27 '17 at 17:07
  • No. for all media have to go via API and auth flow. https://stackoverflow.com/questions/10881511/instagram-api-how-to-get-all-user-media?rq=1 – enator Nov 28 '17 at 06:50

0 Answers0