我正在使用 Foursquare API 编写一个 Android 应用程序。我正在尝试向此 URL 发出请求:
String url = "https://api.foursquare.com/v2/venues/search?ll=16.31503,38.973039&"
+"client_id="+CLIENT_ID+"&client_secret="+CLIENT_SECRET+"&limit=25&v="+date;
其中日期格式为 YYYYMMDD。我实际上有一个响应,但venues
数组是空的:
{
meta: {
code: 200
}
notifications: [
{
type: "notificationTray"
item: {
unreadCount: 0
}
}
]
response: {
venues: [ ]
}
}
为什么是空的?