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

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

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

 

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

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

原文地址:https://www.cnblogs.com/ryq2014/p/5280344.html