Pro integrare
FB.api( '/me', 'POST', {"fields":"id,name"}, function(response) { // Insert your code here } );