I have a very simple use case. I have an xhr object of ids of facebook users. Now I just want to display the images of the users in the following way.
xhr.objects.forEach(function (user) {
$('#userimage').append( '< img src="https://graph.facebook.com/"+user.user_id+"/picture/?type=small"/>');
});
For some reason this is not working. The images are not being displayed. I have added "https://graph.facebook.com" to allow access. Also images from the local web server are being displayed properly.