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, 2022 in Android by Edureka
• 13,620 points
744 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, 2022 in Android by Edureka
• 13,620 points
500 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, 2022 in Android by Edureka
• 12,690 points
1,080 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, 2022 in Android by Edureka
• 13,620 points
2,059 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,763 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,020 points
2,460 views
0 votes
1 answer

Is there a way to run Python on Android?

YES! here’s a barcode scanner written in six ...READ MORE

answered Sep 19, 2018 in Python by Priyaj
• 58,020 points
1,019 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,640 points
922 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