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

后端 未结 5 1230
你的背包
你的背包 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 14:59

    I get the Facebook profile picture All sizes

    Profile Picture Sizes

    value = 24 32 40 50 60 74 80 86 100 111 120 130 148 160 200 240 320 480 720 960 1440

    CURL

    https://graph.facebook.com/v3.1/me?fields=picture.width(value).height(2000)&access_token={}
    

提交回复
热议问题