我有这段代码:
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图片的网址。如何获得更大图片的网址?
我一直在看这里的文档: https://developers.facebook.com/docs/graph-api/reference/user/picture/ 但我仍然感到困惑。
答案 0 :(得分:4)
也许这可以帮助
$facebook->api(me?fields=picture.width(800).height(800))