For fetching all venues around me, I use Foursquare API 2 with the following code:
[Foursquare2 venueSearchNearByLatitude: @(...0)
longitude: @(...0)
query: nil
limit: nil
intent: intentCheckin
radius: @15000
categoryId: nil
callback: ^(BOOL success, id result)
It works. I get 50 venues with distance from 0 to 300 meters. If I put parameter 'query' like @"garden", then I get 50 different venues in which I see venue "garden" with distance 30 meters but I don't see one in the first list. Why? How can I get venue 'garden' without query? I tried intent as 'intentBrowse'. But in this case, I can see my "garden" if I put radius as 100 meters. If more, I see venues with distances from farther to nearest and my 'garden' misses that list because it is too near to me. So my question is: How I can get the real list of places around me? If it's possible.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire