有没有办法让用户的个人资料照片分辨率高于"大",即200x0 ...
https://graph.facebook.com/19292868552/picture?type=large
提前致谢!
小智 9
我现在有同样的问题.我的解决方案是使用个人资料专辑封面的coverId.
您可以使用GraphApi获取用户的所有相册
https://graph.facebook.com/%profileId%/albums
Run Code Online (Sandbox Code Playgroud)
并使用类型为"个人资料"的专辑封面ID获取个人资料照片
https://graph.facebook.com/%coverId%
Run Code Online (Sandbox Code Playgroud)
否则你可以像这样构建一个fql查询
SELECT src_big FROM photo WHERE pid IN (SELECT cover_pid FROM album WHERE owner = %profileId% AND type = 'profile')
Run Code Online (Sandbox Code Playgroud)
我通过编写答案的查询在facebook开发人员文档中找到了这个
http://developers.facebook.com/docs/reference/fql/photo/
我希望这对你有帮助
归档时间: |
|
查看次数: |
4364 次 |
最近记录: |