问题
Anyone know if is possible to access venue details https://api.foursquare.com/v2/venues/VENUE_ID from userless access?
I keep getting the error below:
{
"meta": {
"code": 400,
"errorType": "invalid_auth",
"errorDetail": "Missing access credentials. See https://developer.foursquare.com/docs/oauth.html for details."
},
"response": {}
}
回答1:
Yup. You need to include the parameters client_id
and client_secret
in your request. See https://developer.foursquare.com/overview/auth#userless and https://developer.foursquare.com/start/search for more details.
来源:https://stackoverflow.com/questions/21959129/access-venue-details-using-userless-access