Home application consumed by facebook while login via graph api
Reply: 0

application consumed by facebook while login via graph api

user1078
1#
user1078 Published in April 25, 2018, 8:41 am

While trying to login to my app if user click on create new account button on facebook login dialog user is not able to go back to application and consumed by facebook.

If there is any way or any callback for android please suggest.

LoginManager.getInstance().registerCallback(mCallbackManager, new FacebookCallback() { @Override public void onSuccess(LoginResult loginResult) {

            mCurrentAccessToken = loginResult.getAccessToken();
            requestProfileInfo(new FacebookResult() {
                @Override
                public void postResult(FacebookProfileResponse result) {

                }
            });

        }

        @Override
        public void onCancel() {

            mRequestStatus = REQUEST_STATUS_NO_REQUEST;
        }

        @Override
        public void onError(FacebookException e) {

            mRequestStatus = REQUEST_STATUS_NO_REQUEST;
        }
    });

    LoginManager.getInstance().logInWithReadPermissions(activity, getPermissions());

}
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.319848 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO