当我进行api调用(见底部)以检索请求时,foursquare不包括所有场地数据。 json输出告诉我场地有一个菜单(通过hasMenu = true),但没有返回一个菜单对象。还有其他人遇到过这个问题吗?
https://api.foursquare.com/v2/venues/explore?client_id=CLIENT_ID&client_secret= CLIENT_SECRET& v = 20150804& ll = latitude,longitude& section = food& venuePhotos = 1& m = foursquare
答案 0 :(得分:2)
m=foursquare
没有必要。请尝试以下网址:
https://api.foursquare.com/v2/venues/explore?client_id=CLIENT_ID&client_secret= CLIENT_SECRET& v = 20150804& ll =纬度,经度& section = food& venuePhotos = 1