Instagram Api - how to find valid max_id & min_id

Hi i am using instagram api with javascript. I want to get 5 posts tag and api will return this error:

{
    "meta": {
        "code": 200
    },
    "pagination": {
        "deprecation_warning": "next_max_id and min_id are deprecated for this endpoint; use min_tag_id and max_tag_id instead"
    },
    "data": [ ]}

      

I am using this url to get posts:

https://api.instagram.com/v1/tags/nofilter/media/recent?access_token=xxx&count=5

      

what is max_id and min_id ?? how can i find a valid max_id or min_id

+3


source to share





All Articles