How can I display the users profile pic using the facebook graph api?

前端 未结 9 606
被撕碎了的回忆
被撕碎了的回忆 2020-12-02 07:24

I would like to display the users profile picture inside of my applications canvas page, is there a way to do that using the graph api?

I know I can do it using FBML

9条回答
  •  -上瘾入骨i
    2020-12-02 07:49

    to get different sizes, you can use the type parameter:

    You can specify the picture size you want with the type argument, which should be one of square (50x50), small (50 pixels wide, variable height), and large (about 200 pixels wide, variable height): http://graph.facebook.com/squall3d/picture?type=large.

提交回复
热议问题