新浪微博授权失败: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 的用户. 或者 提交审核^_^


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM