get friends FB.api('/me/friends', function(response) { var result_holder = document.getElementById('result_friends'); var friend_data = response.data.sort(sortMethod); $.ajax({ url: 'test.php', data: friend_data, type: 'POST', dataType: 'json', cache: false, success: function(responseJSON) { alert("HELLO"); }); . . . . more stuff
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)