Bad Authentifizierungsdaten QuickBlox - Android
Ich arbeite anQuickBlox SDK, Mit diesem SDK versuche ich, mich bei Facebook anzumelden. Ich habe einige hilfreiche Links auf stackoverflow wie @ besucDie, aber es hat mir nicht geholfen. Hier ist mein Code-Snippet.
QBAuth.createSession(new QBEntityCallbackImpl<QBSession>() {
@Override
public void onSuccess(QBSession session, Bundle params) {
String token = session.getToken();
QBUsers.signInUsingSocialProvider(QBProvider.FACEBOOK, token, null, new QBEntityCallbackImpl<QBUser>() {
@Override
public void onSuccess(QBUser user, Bundle args) {
Toast.makeText(getApplicationContext() , "Success" ,Toast.LENGTH_SHORT).show();
}
@Override
public void onError(List<String> errors) {
Toast.makeText(getApplicationContext() , "onError" ,Toast.LENGTH_SHORT).show();
}
});
}
@Override
public void onError(List<String> errors) {
}
});
LogCat Details:
Access-Control-Allow-Origin=*
Cache-Control=no-cache
Connection=keep-alive
Content-Length=38
Content-Type=application/json; charset=utf-8
Date=Sat, 16 Jan 2016 08:14:28 GMT
QB-Token-ExpirationDate=2016-01-16 10:14:03 UTC
QuickBlox-REST-API-Version=0.1.1
Server=nginx/1.8.0
Status=422 Unprocessable Entity
X-Rack-Cache=invalidate, pass
X-Request-Id=c350c40caa43dae4fa962da7f2e8e389
X-Runtime=0.132058
X-UA-Compatible=IE=Edge,chrome=1
BODY
'{"errors":["Bad Authentication data"]}'