This is a very stupid question. I start with the javascript SDK on facebook. So I'm trying to make a user profile picture to show I used this code
FB.api('/me', function(response) { document.getElementById('login').style.display = "block"; document.getElementById('login').innerHTML = '<img src="http://graph.facebook.com/' + response.id + '/picture" />'; });
which worked fine, but I'm trying to figure out how to use FB.api('/me/picture') to display an image.
facebook facebook-graph-api
user573451
source share