Android Facebook API Shows White Blank Page

0 votes

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.

enter image description here

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();
        }
    }
Nov 15 in Android by Edureka
• 12,390 points
31 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Android

0 votes
0 answers

Invoke-customs are only supported starting with android 0 --min-api 26

Before, I was using Gradle build version ...READ MORE

Sep 21 in Android by Edureka
• 12,390 points
45 views
0 votes
0 answers

Android: why the ICICI iMobile Pay App shows the "rooted/jailbroken" device with my app?

The ICICI iMobile Pay app displays the ...READ MORE

Nov 9 in Android by Edureka
• 10,980 points
42 views
0 votes
1 answer

Why YouTube Player API does not work on Android 11?

The Android 11 package visibility limitations prevent ...READ MORE

answered Nov 15 in Android by Edureka
• 12,390 points
57 views
0 votes
1 answer
0 votes
0 answers
0 votes
0 answers
0 votes
1 answer

Running docker on Android

According to the documentation, the Android kernel is ...READ MORE

answered Aug 1, 2018 in Docker by Kalgi
• 52,350 points
3,032 views
0 votes
1 answer

Task Canceled Exception while invoking AWS Lambda

I'm guessing either the TaskCanceledException instance is ...READ MORE

answered Sep 19, 2018 in AWS by Priyaj
• 58,100 points
1,668 views
0 votes
1 answer

Is there a way to run Python on Android?

YES! An example via Matt Cutts via SL4A -- "here’s ...READ MORE

answered Sep 19, 2018 in Python by Priyaj
• 58,100 points
474 views
0 votes
1 answer

How can we get the current location in Android?

First you need to define a LocationListener to handle ...READ MORE

answered Sep 25, 2018 in Java by Parth
• 4,630 points
432 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP