facebook 连接 - 以高/原始分辨率获取个人资料照片 [英] facebook connect - get profile photo in high/original resolution
问题描述
有没有办法以比 200x0 的大"分辨率更高的分辨率获取用户的个人资料照片...
https://graph.facebook.com/19292868552/picture?type=large>
提前致谢!
我现在也有同样的问题.我的解决方案是使用个人资料专辑封面的coverId.
您可以使用GraphApi获取用户的所有相册
https://graph.facebook.com/%profileId%/albums
并使用类型为profile"的相册的coverId来获取个人资料照片
https://graph.facebook.com/%coverId%
否则你可以像这样构建一个 fql 查询
SELECT src_big FROM photo WHERE pid IN (SELECT cover_pid FROM album WHERE owner = %profileId% AND type = 'profile')
我在 facebook 开发人员文档中通过编写答案查询找到了这一点
http://developers.facebook.com/docs/reference/fql/photo/
希望对你有帮助
is there any way to get the profile photo of a users in a higher resolution than "large" which is 200x0...
https://graph.facebook.com/19292868552/picture?type=large
Thanks in advance!
I'have the same problem at the moment. My solution is to use the coverId of the profile album cover.
You can use GraphApi to get all Albums of the User
https://graph.facebook.com/%profileId%/albums
and use the coverId of the album with type 'profile' to get the profile photo
https://graph.facebook.com/%coverId%
Otherwise you can build a fql query like this
SELECT src_big FROM photo WHERE pid IN (SELECT cover_pid FROM album WHERE owner = %profileId% AND type = 'profile')
i found this in the facebook developer docs by writing the query for the answer
http://developers.facebook.com/docs/reference/fql/photo/
I hope this help you
这篇关于facebook 连接 - 以高/原始分辨率获取个人资料照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!