本文介绍了获取全尺寸个人资料图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无论如何都可以使用任何 facebook api 获取全尺寸的个人资料图片?
graph.facebook/{ID}/picture?type=large 变小了.>
谢谢:)
解决方案我想我使用最简单的方法来获取完整的个人资料图片.您可以获取完整的个人资料图片,也可以自行设置个人资料图片尺寸:
$facebook->api(me?fields=picture.width(800).height(800))您可以根据需要设置width 和height.尽管 Facebook 没有返回所要求的确切尺寸,但它会返回可用的最接近尺寸的图片.
Is there anyway to get the full-size profile picture using any facebook api?
graph.facebook/{ID}/picture?type=large is way to small.
Thanks :)
解决方案I think I use the simplest method to get the full profile picture. You can get full profile picture or you can set the profile picture dimension yourself:
$facebook->api(me?fields=picture.width(800).height(800))You can set width and height as per your need. Though Facebook doesn't return the exact size asked for, It returns the closest dimension picture available with them.
更多推荐
获取全尺寸个人资料图片
发布评论