Geolocation foursquare venu api有变化吗?Can';t查询特定的存储

Geolocation foursquare venu api有变化吗?Can';t查询特定的存储,geolocation,location,foursquare,google-places-api,Geolocation,Location,Foursquare,Google Places Api,我一直在通过foursquare Vincements api查询特定门店,如下所示: String stores = ""; try { stores = URLEncoder.encode("ULTA Nordstrom Target Costco", "utf8"); } catch (UnsupportedEncodingException e1) { // TODO Auto-generated catch block

我一直在通过foursquare Vincements api查询特定门店,如下所示:

 String stores = "";
    try {
        stores = URLEncoder.encode("ULTA Nordstrom Target Costco", "utf8");
    } catch (UnsupportedEncodingException e1) {
        // TODO Auto-generated catch block
        e1.printStackTrace();
    }

    String placeEndPoint = "https://api.foursquare.com/v2/venues/search?ll=33.859868,-117.886133&query="+stores+"&intent=browse&radius=16093&client_id=clientid&client_secret=secret&v=20130322";
在过去的6个月里,点击这个端点返回了上述商店的列表。然而,这个现在返回空。如果我只输入1个存储,我会收到返回的结果,但是当我有几个像上面一样的存储时,什么都不会返回

foursquare api有什么变化吗?这是搜索多个特定商店的正确方法吗


谢谢

不确定最近是否有任何更改,但您应该使用一个请求,而不是在一个请求中进行多个查询


其背后的理由是:逻辑上,这些请求应该是多个请求。你不一定要对“ULTA Nordstrom Target Costco”(比如说在谷歌上)进行一次搜索,并期望将每个关键字的不相交结果合并到你得到的一个结果集中。您希望得到与您提到的所有关键字相关的结果。搜索场馆时,这严重限制了搜索结果。

章鱼有一个很好的建议,这是我要走的路线,但它没有回答问题

我相信答案是肯定的,foursquare api确实改变了