简体   繁体   中英

Instagram api pagination object is coming blank ( empty ) in live mode

we are facing a major issue on the Instagram API calling section using PHP (Codeigniter 3). First of all we want to tell you that our app in in live mode and we are very sure of that . The pagination URL object is coming blank after 20 images and we have tried different ways using the COUNT parameter on the section and the next_max_id and next_min_id but all in vain. So please suggest us some new way to do this section. We can not use javascript on this section according to our requirements.

Some of the small example are below how e call the api and what are we using.


https://api.instagram.com/v1/users/self/media/recent/?access_token=3963420514.440235f.df3a5b4f9d6546cb9512ffd0a13ae62f&count=13


https://api.instagram.com/v1/users/3963420514/media/recent ?

Thank you in advance.

I checked your API response it has pagination data

just use the pagination.next_url to get the next set of 13 posts via API, I tried it, it worked with your API above.

If not you can also maually add &max_id={value of pagination.next_max_id} to the API to get next set of posts

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM