Answer the question
In order to leave comments, you need to log in
How to do a city photo search through the Instagram API?
There is a function to search for photos by coordinates within a radius of 5 kilometers.
And there are times when they are not enough, and every point in the city is too lazy to mark.
I see this through checking if the coordinate belongs to some city, but since the city is always different, you need to do this through "something". For example, google maps, but I don’t know if it has such a function
Answer the question
In order to leave comments, you need to log in
In instagram, you can search not only by coordinates, but also by locations. Cities most often have an id of their location.
Those. You can use API methods:
The question may be outdated, but personally I make a coverage map for each city with a certain radius, and then I do a media search: https://api.instagram.com/v1/media/search
This way you can get photos much more accurately than searching by locations.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question