Instagram API Possible Solution - instagram

I have one question, with an Instagram Username. Can I get back data from that user? for example, get photos and number of followers? (only if profile is public)
I'm creating a website were users can upload their Instagram username #example and based on that scrap and create a profile on the website with their latest photos and the number of followers (all of this without logging).
I think This image will help to understand what I'm trying to achieve, Can someone guide me? this is possible with Instagram API?

Yes this was possible recently with https://www.instagram.com/<username>/?__a=1 but instagram recently blocked this possibility.
I'll update my post if I find a new method.

Related

Instagram - Get post comments

I did create a client in Instagram API but I'm in sandbox mode. My wife have a makeup store account and she is doing a giveaway and the rules is comment a post and mention another 3 friends. So, how can I get all the comments of the photo using or not Instagram API?
We have a web application in: www.beautyglamsd.com and I though that I can put the people that already are in the comments.
You can use service like this one to host your giveaway (works for Instagram, Youtube, Tiktok and VK). You can automate all tasks and save your time (check for like, follow, sponsors).

Is it possible to access a friends Instagram pictures without his access_token?

I heard that Instagram recently changed their APIs and I have a related question to that.
Let's assume I would like to build an "Instagram feed app of people I follow". So this app would just show me the pictures of all people I follow. From what I understand this would be possible, but I would always have same manual effort:
From the Instagram developer website I understand that I need the access_token from all my friends.
Do I understand that correctly?
This would mean every time I follow someone new, I would have to get his/her access_token manually and add it into my app.
Do I understand this correctly or is there a programmatic/automated way to get the needed access_token from the new followed person?
Yes, you are correct. This is not possible at the moment. I'm not sure how you would get the access token of friends. You would have to have them login as well. BTW: This seems to be the way facebook is going (since they now control Instagram). They require that both friends have authorized your app and then they will list their followers.

How to fetch my followers Instagram Activity via API?

My scenario is, basically, as an Instagram user I want to fetch my following users activities through API, a list of their likes, comments etc. It is able via user interface but instead I want to fetch them.
No programming language enforcement. Nodejs, Python preferably.
Thanks for any of your helps!
Well, kinda found a way to solve. There're bunch of API's on github called Instagram Private Api. I go with python one which gives a horrible response.

How to get "public_content" permission in Instagram API?

I have App what use in my website a widget by inwidget.ru : this widget show recent photos by special user or hashtag (people who have red heads and use #redpeopleorg in Instagram will show in my website http://redpeople.org).
After 17'November 2015 Instagram had change rules.
I made a screencast, send submission with description why I need live-mode and tried to get "public_content" permission in Instagram API, but they changed review status to "Declined".
Anybody have positive experience with reviewing applications in Instagram Api?
I don't know devs who had. Bat there's still a hope, e.g. you can parse public search results:
https://www.instagram.com/explore/tags/hashtag/
I use a bunch of javascript code, that contains json string with all posts - just json_decode'd it.

How to retrieve Instagram followers' locations?

I've searched through the topics but it seems that exactly this questions hadn't been asked yet.
Could anyone, please, share their opinion on how to retrieve an Instagram account followers' posts locations in order to map them after that on one map?
On the account there are around 2000-2100 followers.
Thank you in advance!
To get detailed user information from instagram you have to use the GET /users/user-id endpoint.
So to get the location information for all an accounts followers you have to use
GET/users/user-id/followed-by and iterate through the results.
Be careful. Instagram api limit is currently 5000 requests per hour. Accounts with more followers than that you will have to use some form of queue
Edit: just seen you want the post locations:
Similar method, excite instead of GET /users/user-id user GET /users/user-id/recent and grab the locations of the media. Note in my experience the location function is used very little by instagram users. I once pulled 3000 media that had only 20 media with a location
You cannot just location of a user using APIs, there are couple ways you can guess the location, by looking for bio information and check if they have any location specified or you can check location of all the photos posted by a user and kind of guess the location by analyzing where most of the photos are being posted at.
you can use the API /users/user-id/recent to get all the photos from a user and look for location property in API response and map it on google map.
you can use http://gramfeed.com to see user photos with a map of photo locations, you will have to do this for each user and determine the location.

Resources