javascript sdkを使用してFacebookユーザーのサムネイル/アバターを取得する方法を知っている人はいますか?
私は次のことを行うことができるフルサイズの画像を取得することを知っています:
//Get a list of all the albums
FB.api('/me/albums', function (response) {
for (album in response.data) {
// Find the Profile Picture album
if (response.data[album].name == "Profile Pictures") {
// Get a list of all photos in that album.
FB.api(response.data[album].id + "/photos", function(response) {
//The image link
image = response.data[0].images[0].source;
});
}
}
});
サムネイル/アバターのサイズを取得する方法がわからない。50x50サイズのようなもの