How to use FB.api('/me/picture') to get profile image

后端 未结 5 1228
你的背包
你的背包 2020-12-29 14:43

This is a very silly question. I\'m a beginner with facebook Javascript SDK. So I\'m trying to make a the user\'s profile image to show I used this code

FB.         


        
5条回答
  •  青春惊慌失措
    2020-12-29 15:00

    This is sure shot, Proved to be working with facebook graph api 2.5. This is the sample HTML Please see the changes I have made in FB.api() function.

     
        
        
        Facebook Login JavaScript Example
        
        
        
    
        
        
    
        

提交回复
热议问题