i am able to retrieve a facebook users images and console log them with the code snippet below.
FB.api('/v2.2/me/photos/', function(response) { //User Photos
var obj = response.data;
for (var i = 0; i < obj.length; i++) {
// Do something with object
console.log(obi[i].source);
}
});
I am having an issue passing the array of images to a div, i have tried the method below but it only returns one image url.
$("#user_album").val(obi[i].source);
Any Suggestions?