I use the Facebook API for Android, however when I click the login button, a blank white screen appears, as shown in the attached image. Please provide me with some solutions.
public void facebookLogin(FacebookLoginHandller target) {
try {
this.superLocal = target;
if (facebook == null) {
facebook = new Facebook(APPID);
}
if (facebook.isSessionValid()) {
superLocal.loginStatus(1);
} else {
facebook.authorize(Activity.this, PERMISSIONS, Facebook.FORCE_DIALOG_AUTH, new LoginDialogListener(new FacebookLoginHandller() {
@Override
public void loginStatus(int status) {
if (status == 1) {
superLocal.loginStatus(1);
}
}
}));
}
} catch (Exception e) {
e.printStackTrace();
}
}