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

时间:2016-03-15 18:38:06   收藏:0   阅读:3204

在用新浪微博授权第三方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 的用户. 或者 提交审核^_^

原文:http://www.cnblogs.com/ryq2014/p/5280344.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!