How detect recent unfollowers on instagram
Istagram Api dont give us who persions unfollows us , but we want to know recent unfollowers
How ?
First, you might want to check Instagram's Terms of Service to check if you are allowed to do this.
An obvious way of doing this would be saving a list of all the followers and comparing this list with the previously saved one. That will tell you what the changes are including who unfollowed and in which interval it happened.
Related
Appratelly, the built-in search tool only shows Hot & Recent posts not all of them. Do you know any app or any solution to see all of photos/posts which have a specific hashtag, not part of them?
Keep scrolling and all photos will load, it starts from most recent and goes back to the very first, realistically you cannot load all 9 million on the browser
How can I get recent comments in my media files from a date or id?
That is, I am interested in getting all the comments of any media file that have been published since a date or a comment id that I already have.
From what I've seen I should go through each media and go through all the comments it contains to find the new ones.
But this way does not seem right to me since I would have to make many calls going through the media and its comments again and again until I find a new one.
I have also seen that the subscriptions are not yet active for the media or comments, which would be great because it is what I seek to get the new comments, instead of having to go all the way through the same in search of some new.
Is there any way to do it?
There is no API currently to automatically get new comments from a bunch of media.
You have to get new comments from single media and compare manually for dates with code using this API:
https://api.instagram.com/v1/media/{media-id}/comments?access_token=ACCESS-TOKEN
Also note that this API only returns the latest 150 comments, so if the media is very popular and gets more that 150 comments, you have to time the API call at regular intervals and check dates so you dont miss out on some new comments
The Instagram official API (link) allow us to search for the recent pictures with a certain hashtag by doing a get request to the endpoint https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN. By doing so we get the most recent 33 pictures of that hashtag and we also get a max_tag_id that allows us to ask for the next 33 pictures.
I want to get pictures that are at least one month old. I could keep on making requests and finding the new max_tag_id until I find the pictures that are old enough. The problem is that there are millions of recent pictures and I would take forever to reach the page of the old pictures. The only solution I see is to understand how the max_tag_id works and change it manually to find the page of the old pictures.
Here you have 5 different max_tag_id of sequential pages:
max_tag_ids = [u'AQDYK_538AzbSXpT2wfZrdhtqwJ8Buu0y5_Bcx-dZeQYX-RZeyRE1xW99JUoW4c2SNJ6GZ2Co-6UgWUpzdOCRl3RBIoNZw6ALRZTOYbM0kphPtEahSbv1nOyTO0SpdV3utw', u'AQA7JX63t9iVB8n0PE0_7JqUfYBWwSaukmkHJ6woOh7RTGyjbsRTFzoTr-Lml4rLnMdKKRlqbplTEK6JLfOq7r88fPmepra1SYiZKZNxh7--jxAvqWq5ru-Wt444-LuZQxk', u'AQD8GJCCxWDUd-Gv2Iys1G2RjUozXbAVcZOWa8H29vgq9UMVjD_kPVwp6y-Og2xQXO11R1ck5V925irELWK0MwHvrgGgbVljeGU9j0jpSEEDZ8ZfLmjTkbshiMsGqvw846g', u'AQCbV44lzEIHW4xgz82F-duu1iMIPLvp-ArXoTZrt_DgLwOBVpmWLsNlnyOGKlfimGrhZz3m5aFF-0lRrxNAr82pd9LOpJB06G4wwhv-VGmzZo8ZuBqnEV2LEqjNQudmZlQ', u'AQDX7sXWrADCvno3KUhvsO7r9ldcnGga5R42PSBUre2cVfu660gd232qpj74TQoboQFSS-y2jKwE2N4NAr4tsylqeA1BwArlcQpnsGO9SqusCpUG38KKJzjx7wXhdQIYE0A']
All the ids have the same length of 131 characters. The previous pages max_tag_id are always bigger than the new pages max_tag_id.
for i in xrange(len(max_tag_ids)-1):
assert max_tag_ids[0]>max_tag_ids[1], 'you should never read this'
So I tried to use very small max_tag_id (e.g. '0'*131) but I get the following reply:
'max_id is not a valid cursor.'
Any ideas?
A bit of history on hashtag and date/time search:
Instagram for some reason is trying to prevent 3rd-party developers to do hashtag search by time. At first max_tag_id and min_tag_id values used to be epoch time stamps, so it was easy to do date/time search for hashtags. Next, they changed max_tag_id and min_tag_id to media_id, so it became a 2 step approach to find a media_id with the time stamp you want to search and you could apply it to max_tag_id, but now they have changed to some hashed value that is hard to decode. So my guess is that Instagram is trying to prevent 3rd-party developers from do this.
I have implemented date/time search in https://www.picodash.com for all queries except hashtags. I have tried to decode the tag_id, but never was successful, and have not gotten no response from Instagram as to why they made this difficult.
I am trying to get the recent post from a particular location. using this url.
https://api.instagram.com/v1/media/search?lat=34.0500&lng=-118.2500&distance=50&MAX_ID=max_id&access_token=XXXX
So when I use this URL for the first time, I get 20 results. I obtain the max ID from the list of 20 results and modify my url .
But when I use the modified URL, I obtain the same result as the first one.
How do I go about solving this?
Contrary to what I thought, the media search endpoint doesn't return a pagination object. Sorry. It also doesn't support the min_id/max_id parameters, which is why you are having problems..
If you want to get different data you are going to have to use the time based request parameter MIN_TIMESTAMP. However it looks like that parameter doesn't work for that endpoint either (though the documentation says it is supported). Indeed, a quick search on the internet reveals it might be a long standing bug with the api.
I am doing a program using j2me and the last window in the program has a form that contains name of the place, number and location.
I want to know:
if there is any way to call for the number which appears in the window?
if there is any way to save the information (name and number) in the contact?
any tutorials or examples applied this feature << because I searched a lot and I didn't find something useful.
You can use the midlet.platformRequest("tel:[telephone number]") to make the call. As far as accessing contact in the phone or saving contacts to the phone's address book, your phones needs JSR 75 API functionality and you might also require to sign the build