i need iterate through particular user's likes using api below
https://api.instagram.com/v1/users/self/media/liked how can skip have read before? there "max_like_id" parameter, need "the newest likes" after particular id. tried "min_like_id", still likes returned.
there no min_like_id endpoint.
you can manually:
- save
media_idof first photo loaded on api - create function load newest, should api response , iterate thru media objects , compare saved
media_idin step 1 - if there no match, prepend media list, if there match break out of loop, , update variable saved
media_idin step 1 firstmedia_idin step 2
Comments
Post a Comment