问题
I've been looking at the Foursquare API, I'm trying to do requests for venues with a url like "https://api.foursquare.com/v2/venues/search?limit=50&intent=browse&m=foursquare&ne=20.6077948349134,-105.235476512856&v=20150610&sw=20.6055471650866,-105.237877821883&oauth_token=${token}" At some point this kind of requests were returning a fair amount of venues but recently the API started to return almost empty venues array in the response. Any Ideas? Has something changed recently?
Cheers Ignacio
回答1:
The solution that worked for me was changing: intent=browse
to intent=checkin
or removing this part completely to fall back to the default. Right after this change I'm seeing full list of venues.
回答2:
add &intent=browse to URL but it works only with ll and radius parameters, or the sw and ne.
BTW on sept15 was an issue with foursquare API
来源:https://stackoverflow.com/questions/32683143/foursquare-api-venues-returning-almost-empty-venues-intent-browse