1.
First use facebook graph API
to search locations and get facebook_places_id
. Here is an example:
https://graph.facebook.com/search?q=&type=place¢er=37.77493,-122.419415&distance=5000&access_token=ACCESS-TOKEN&expires_in=5184000
2.
Get the facebook_places_id
and use this instagram location search API
to get the corresponding instagram_location_id
https://api.instagram.com/v1/locations/search?facebook_places_id=273471170716&access_token=ACCESS-TOKEN
3.
Get the location id
and then make the instagram location media API
to get recent media:
https://api.instagram.com/v1/locations/514276/media/recent?access_token=ACCESS-TOKEN
Here is an implementation of Instagram location media search using the above method: http://www.gramfeed.com/instagram/places
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…