I am using https://github.com/cosenary/Instagram-PHP-API to integrate Instagram API for my application.
I have a requirement of getting all the media's for the 'self' user and display. I tried with min_id and max_id but it only show recent 20 media I also use max_timestamp and min_timestamp but nothing worked to me.
Is there something I missing or is there any work around to solve this issue.
Thanks FJ
You need to enable Live mode, with Sandbox mode you only get 20 posts, Test you app with Sandbox mode and request for live mode
First of all if your Instagram client is in Sandbox mode then you can't get more than 20 posts, more clearly last 20 posts. After client approve you can request more data using
MAX_ID Return media earlier than this max_id.
MIN_ID Return media later than this min_id.
COUNT Count of media to return.
If client is in Sandbox mode then user should be also in Sandbox Users list. This list you can find when you click manage
on your Instagram client.
Hope this will help you.
The Sandbox is the problem.
You can test your application by using a "real" token that you can get here :