This is a very silly question. I\'m a beginner with facebook Javascript SDK. So I\'m trying to make a the user\'s profile image to show I used this code
FB.
You can get specific sizes of the profile pic as well:
FB.api("/me/picture?width=180&height=180", function(response) {
console.log(response.data.url);
});
See the Facebook documentation to see what different picture sizes you can get.
And a complete demo with login at: Get Facebook Profile Picture with Javascript SDK