Foursquare API Venues返回几乎是空的场地 intent=browse[英] Foursquare API Venues returning almost empty venues intent=browse

本文是小编为大家收集整理的关于Foursquare API Venues返回几乎是空的场地 intent=browse的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我一直在看foursquare API,我正在尝试使用" 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响应.有任何想法吗?最近发生了什么变化吗?

欢呼 Ignacio

推荐答案

对我有用的解决方案正在改变:intent=browse intent=checkin或完全删除此部分以返回默认值.此更改之后,我看到了完整的场地列表.

其他推荐答案

add&intent =浏览到URL,但仅适用于 ll 和 radius 参数,或 sw 和 NE .

btw在9月15日是Foursquare API

的问题

本文地址:https://www.itbaoku.cn/post/2090869.html

问题描述

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

推荐答案

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.

其他推荐答案

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