开发者

how to get profile images with facebook graph api

I need to get all开发者_如何学Python of the user profile images,

Mean I need more then the user profile image

I tried to get album, and to extract the images form it, but without success


You need

  • Valid access_token
  • user_photos permissions

After that, get photos


You could do this with a FQL query:

select pid, src, link, caption
from photo
where aid in 
  (SELECT aid 
   FROM album 
   WHERE owner=me() 
   and name="Profile Pictures")

This would require user_photos extended permission.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜