Search code examples
apifoursquareinstagram

Is it possible to get instagram media for a location with a foursquare id in a single call?


I have a bunch of foursquare ids and I want to be able to pull instagram media with those foursquare ids.

Currently I only see one way to do this and it requires two API calls. You must first do a call to the search API using foursquare_v2_id (example call). That will return the instagram ID. Then I must do a second call to the media API using the instagram id to retrieve media (example call).

Does anyone know how to achieve these results (getting media for a location based on just a foursquare_id) with only one api call?


Solution

  • After contacting Instagram it is clear that there is no way to do this at this time. If that ever changes I will come back and re-answer this question with the proper solution.