3
大型資料圖片我有這樣的代碼:如何獲得來自Facebook API(使用Javascript)
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
}
圖片字段包含一個URL,50×50的圖像。我怎樣才能得到一個更大的圖片的網址?
我一直在看這裏的文檔: https://developers.facebook.com/docs/graph-api/reference/user/picture/ 但我仍然困惑。
謝謝!我真的解決了這個問題,答案是'picture.type(large)':) – Polina
謝謝,我也會試一試 –