quickblox错误登录时,机器人 [英] quickblox error when login, android
本文介绍了quickblox错误登录时,机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用quickblox为Android平台聊天,与Facebook身份验证,
我做这些步骤,例如
I'm using quickblox for a chat on android platform, with facebook auth, I do these steps such
1)QBSettings.getInstance().fastConfigInit(..,..,..)
2)QBAuth.createSession(this, QBQueries.QB_QUERY_AUTHORIZE_APP)
3)SmackAndroid.init(this)
4)Facebook登录和获得的accessToken
4)facebook login and get a accesstoken
5)QBUsers.signInUsingSocialProvider(QBProvider.FACEBOOK, accessToken, null, this)
6)QBChatService.getInstance().loginWithUser
但我有一个错误:(错误,当登录:SASL验证失败)
我不知道为什么。
你能帮助我吗?
非常感谢
but i have a error: (error when login: SASL authentication failed) I don't know why. can you help me? thanks a lot
推荐答案
我有一个很难搞清楚的问题。在我来说,我是用ChatService类代替QBChatService为FB / Twitter的登录。
I had a hard time figuring out the issue. In my case I was using ChatService class instead of QBChatService for FB/Twitter login.
这篇关于quickblox错误登录时,机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文