Android Question facebook authentication event?

hongbii khaw

Member
Licensed User
Longtime User
Hi all,
I follow all the step from https://www.b4x.com/android/forum/t...rebaseauth-to-support-facebook.67954/#content
I can sign in with Google with a Sub Auth_SignedIn (User As FirebaseUser) event raised so I know the user is successfully signed in.
But when I sign in with Facebook, although it has a
B4X:
Facebook success: com.facebook.login.LoginResult@42247298
but does anyone know is that any event raised for the facebook sign in so I can get the sign-in email for the user?
Thank you.
 

hongbii khaw

Member
Licensed User
Longtime User
Hi Erel,
This is the error log:
B4X:
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
Facebook success: com.facebook.login.LoginResult@e1c5666
signInWithCredential start
** Activity (main) Resume **
signInWithCredential complete: false
error: com.google.firebase.FirebaseException: An internal error has occurred. [ Unsuccessful debug_token response from Facebook:{"error":{"message":"Invalid OAuth access token signature.","type":"OAuthException","code":190,"fbtrace_id":"DZwBvNSeN3C"}} ]
 
Upvote 0
Top