I want to search a result and sort it by categoryId
. I also want to use some categories.
So, I've sent a request with this parameter:
https://api.foursquare.com/v2/venues/search?ll=35.660853,139.688323&categoryId=4d4b7105d754a06374d81259,4bf58dd8d48988d1a1941735,4bf58dd8d48988d116941735,4bf58dd8d48988d117941735,4bf58dd8d48988d11e941735,4bf58dd8d48988d118941735,4bf58dd8d48988d1d8941735,4bf58dd8d48988d119941735,4bf58dd8d48988d1d5941735,4bf58dd8d48988d121941735,4bf58dd8d48988d11b941735,4bf58dd8d48988d11c941735,4bf58dd8d48988d1d4941735,4bf58dd8d48988d11d941735,4bf58dd8d48988d122941735,4bf58dd8d48988d123941735,4bf58dd8d48988d1ef931735&radius=1000&oauth_token=token&v=20120602
But, the response data has a different categoryID
than that of my request!
My request category:
4d4b7105d754a06374d81259,4bf58dd8d48988d1a1941735,4bf58dd8d48988d116941735,4bf58dd8d48988d117941735,4bf58dd8d48988d11e941735,4bf58dd8d48988d118941735,4bf58dd8d48988d1d8941735,4bf58dd8d48988d119941735,4bf58dd8d48988d1d5941735,4bf58dd8d48988d121941735,4bf58dd8d48988d11b941735,4bf58dd8d48988d11c941735,4bf58dd8d48988d1d4941735,4bf58dd8d48988d11d941735,4bf58dd8d48988d122941735,4bf58dd8d48988d123941735,4bf58dd8d48988d1ef931735
ResponseCategory:
contains 4bf58dd8d48988d129951735(station) etc...
Why do you receive this data response? How do I get the correct data response?