Question

I am using Foursquare PUSH API(Checkins from your users will be pushed to your app).. I have set an url at my server where I am receiving PUSH response..However when someone attaches photo (with public visible option on) at time of check-in, I do not get that photo related info(URL, img name etc) as a part of response at my end..Please guide me how can I get attached photo info as well..I want to display that attached image on my site..

Was it helpful?

Solution

Unfortunately at this point our push API only supports notifying you when a user checks in, which is actually separate from when a photo is added to a check-in, although it seems seamless. Photos are actually added to a check-in via a separate API call (photos/add—you'll notice that there's no way to include a photo in checkins/add itself)

You need to make separate check-in detail calls to see if a particular check-in has a photo associated with it

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top