Just the fact that I can find no-one else having this problem with the Instagram API indicates to me that I am doing something wrong.
If I was to enter: https://api.instagram.com/v1/users/334250900/media/recent/?client_id=xxx&min_id=678453535718114828_919796408
and 678453535718114828_919796408
was the very latest post ID for that user, I should get nothing back, right?
Well I don't. I get one post back - the one in the min_id
parameter.
The documentation states:
MIN_ID - Return media later than this min_id.
but the behaviour seems to be to return media LATER OR EQUAL TO this min_id.
If I specify a min_id that is the THIRD most recent post, I should get TWO posts back, but no, I get three.
Sure, I can throw away the last result in the returned array, or do some checking to see whether I already have it - but that kinda defeats the purpose of the parameter.
Is it just me?