I have the following problem:
Once the user is logged in facebook if I run the following code:
FB.api('/me', function(user) { alert(user.name); }); It pops up an alert with "Udefined" written.
But if I change the code in the following way:
FB.api( /[MY_REAL_FACEBOOK_ID], function(user) { alert(user.name); }); It response in the correct manner.
How it is possible ? Why '/me' never works ?