新浪微博授权失败:applications over the unaudited use restrictions

时间:2023-12-28 13:07:26

在用新浪微博授权第三方app时,授权失败,log显示

com.sina.weibo.sdk.exception.WeiboHttpException: {"error":"applications over the unaudited use restrictions!","error_code":,"request":"/2/users/show.json"}
at com.sina.weibo.sdk.net.HttpManager.requestHttpExecute(HttpManager.java:)
at com.sina.weibo.sdk.net.HttpManager.openUrl(HttpManager.java:)
at com.sina.weibo.sdk.net.AsyncWeiboRunner$RequestRunner.doInBackground(AsyncWeiboRunner.java:)
at com.sina.weibo.sdk.net.AsyncWeiboRunner$RequestRunner.doInBackground(AsyncWeiboRunner.java:)

问题说明: 是因为 在测试期 也就是 没有 提交审核前 ,新浪验证比较严格 只允许 当前申请APPKEY 用户 测试, 其他用户登录测试都会报这个错误.

所以登录测试时 只能用 你申请APPKEY 的用户. 或者 提交审核^_^