Foursquare API Venues returning almost empty venues intent=browse

Deadly 提交于 2019-12-23 04:07:20

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!