In my iphone app, I've the latitude and longitude of hundred of places represented in a MapKit. Is there any automatic way of getting the 4sq venue ids of them us开发者_运维百科ing the api? I don't want to do that task manually.
Thanks
There is no one-to-one mapping between annotations in the MapKit and foursquare venues. You would have to map these somehow yourself, whether amnually or by som fancy algorithm.
You should however be careful by mapping a "place" to a foursquare venue - how do you know it's the same just because it's within a few meters? How do you obtain these "places"?
You can see the Foursquare API documentation here in case you decide to map these using some form of script or code.
精彩评论