新浪微博授權失敗: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