gpt4 book ai didi

facebook - 如何从 Facebook API 获取大头像(使用 Javascript)

转载 作者:行者123 更新时间:2023-11-30 05:27:56 31 4
gpt4 key购买 nike

我有这个代码:

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/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com