

So based on whatever polling mechanism you have, you just call the API to get the new recent media if any based on last received min_tag_id. As the API also accepts a min_tag_id parameter, you can pass that number from your last query to only receive those media that are tagged after your last query. Using the Tag endpoints to get the recent media with a desired tag, it returns a min_tag_id in its pagination info, which is tied to the most recently tagged media at the time of your call. public class LousyInstagramApiTest void testFeedContinuity() throws Exception while (pareTo(minTagId) > 0) I couldn't find better way to test this than save images on disk for some time and compare result to /explore/tags/.

I've moved two calls to instagram api as close as possible but is this enough?Īs Amir suggested I've rewritten the code with use of min/max_tag_ids. Second issue can be addressed with Set of some sort I gueess. At that point, to hide the posts you’ve been tagged in from different individuals, select the post you’d like on eliminating from your profile, and when no doubt about it, tap Hide Photos at the lower part of your screen and when impelled, tap Hide from Profile.
#Tagged instagram photos search android
if photo posted from private account last photo will be duplicated as counter changes but nothing is added to recent Hide all Instagram post on iPhone app or android app.

if mediaCount changed by now, realDelta > delta, so realDelta - delta photos won't be grabbed and on next poll if mediaCount didn't change again realDelta - delta would be duplicated else. Below is pseudocode with comments of sublte bugs in it newMediaCount = getMediaCount() I found real time api pretty useless so I'm using long polling strategy. I'm trying to download photos posted with specific tag in real time.
