Skip to content Skip to sidebar Skip to footer

How Do I Get The @user From Firebase User From Twitter

I am trying to access the Twitter username after logging in via firebase to Twitter, but the .getDisplayName method returns the user's name, not the @ Any ideas? I have tried this

Solution 1:

This information is available in AdditionalUserInfo.getUsername(), which you can get from the AuthResult when the user signs in.

It is not available from FirebaseAuth.getInstance().getCurrentUser().

Post a Comment for "How Do I Get The @user From Firebase User From Twitter"