Android : How to get larger profile pic from Facebook using FirebaseAuth?

后端 未结 8 643
孤街浪徒
孤街浪徒 2021-01-30 14:25

I am using FirebaseAuth to login user through FB. Here is the code:

private FirebaseAuth mAuth;
private FirebaseAuth.AuthStateListener mAuthListener;
pr         


        
8条回答
  •  故里飘歌
    2021-01-30 14:51

    photoUrl = "https://graph.facebook.com/" + facebookId+ "/picture?height=500"
    

    You can store this link to firebase database with user facebookId and use this in app. Also you can change height as a parameter

提交回复
热议问题