为用户成功获取 oauth_token 后,我能够从端点获得成功响应,例如: https ://api.foursquare.com/v2/users/self/checkins?oauth_token=MY_ACCESS_TOKEN
但是,当我尝试通过以下帖子添加签到时:
https://api.foursquare.com/v2/checkins/add
场地Id=4d234b5bf7a9a1438f1a479f&shout=sdfasdfasdfasdf&oauth_token=MY_ACCESS_TOKEN
我收到以下回复:
{"meta":{"code":400,"errorType":"invalid_auth","errorDetail":"缺少访问凭据。有关详细信息,请参阅 https://developer.foursquare.com/docs/oauth.html。"} ,“回复”:{}}
有没有其他人注意到将您的 oauth_token 用于某些 API 端点而不是其他端点的问题?