我有这个代码:
FB.api('/me',
{fields: 'id, first_name, last_name, email, link, gender, picture'},
function(response) {
Pass data to php file which saves it in the database
}
图片字段包含 50x50 图像的 url。如何获取更大图片的 URL?
我一直在看这里的文档: https://developers.facebook.com/docs/graph-api/reference/user/picture/ 但我仍然很困惑。
最佳答案
也许这可以帮助
$facebook->api(me?fields=picture.width(800).height(800))
关于facebook - 如何从 Facebook API 获取大头像(使用 Javascript),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42676505/