Android and Facebook: How to get picture of logged in User

前端 未结 7 1063
攒了一身酷
攒了一身酷 2020-12-08 06:30

I use the official Facebook SDK in my Android Application. After the user logs in, I can get the uid and the name of the facebook user like so:

Facebook mFac         


        
7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 06:54

    For displaying profile pic in your app, use ProfilePictureView from Facebook SDK.

    Refer This

    Just call setProfileId(String profileId) on it.

    It will take care of displaying the image.

提交回复
热议问题