Reputation: 63
In trying to get a list of foursquare venues by id, I ended up using the multi endpoint.
However, the venues returned do not have a distance value from my current lat long
So, as an example I can use the venue endpoint
However, trying to do the same using the multi endpoint
Any idea how to use the lat long parameter on a multi request? I couldn't find much documentation on this
Upvotes: 1
Views: 506
Reputation: 1944
You need to pass the "ll" parameter as part of each of the requests listed out in "requests". Currently, the "ll" parameter is being interpreted as an argument to the "multi" endpoint, when you actually want it to be a parameter on each of the two "venues" requests.
You should URL encode the both of the full requests (including the ll parameter) and set that as the value of the "requests" parameter.
Upvotes: 3