Search code examples
pythoninstagram-api

How can I get all media from my own Instagram api?


I want to get number of likes each photo or video got. Can I get all the media like count or just the last 20 of them?


Solution

  • If you get your API access reviewed and approved by Instagram you will be able to get more than 20 photos using pagination.

    Check documentation here: https://www.instagram.com/developer/sandbox/