How to login in android app with different facebook id's

  • Replies:2
Amit Anand
  • Forum posts: 2

Oct 5, 2016, 3:45:10 PM via Website

Hi Everyone,

I have developed a simple android app, "sampleFbLogin_01" (on android studio using java) for login with facebook.
i created an app with similar name "sampleFbLogin_01" on 'https: // developers .facebook .com'
logging with one of my facebook id (let, fb id 01)
After following the steps to make facebook login app,
i can sign in in sampleFbLogin_01 anroid app .

now when i logout and try to enter with my another facebook id (let, fb id 02)
i am not allowed to enter with this new facebook id
On Android console it is giving error message stating
"W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 11251"

(b) One more question.
how to start a new activity using intent in onSuccess() part of loginButton.registerCallback(callbackManager, new FacebookCallback() method.

nothing happens for
startActivity(new Intent(FirstFbLoginActivity.this, SecondNewPageActivity.class));
ie
SecondNewPageActivity is not opening after successful login from FirstFbLoginActivity

Waiting for guidance.

Thanks and Regards,
Amit.

Reply
Ashish Tripathi
  • Forum posts: 211

Oct 7, 2016, 11:41:17 AM via Website

Are you using default facebook logout button?? Also share the logout functionality.

Reply
Amit Anand
  • Forum posts: 2

Oct 8, 2016, 7:00:56 PM via Website

Hi Ashish Tripathi,
Thanks for replying.

Yes i am using default facebook logout button.
After logout, when i try to re enter with my different facebook id, i am unable to enter to enter with with this new fb id
Except the initial facebook id, no other id is allowed.

shall i use a different logout button or write new code for logout.

I am using fb sharing in other activity with little different code and it is working almost properly with little html problem

Can you provide a link or example to solve fb login problem.
Thanks in advance. Waiting for guidance.

Regards,
Amit.

Reply