permadi.com » Facebook Open Graph API: Showing List Of Friends
FB.api(‘/me/friends’, onFriendsListLoaded) sends the request to Facebook and onFriendsListLoaded is the callback function. The data is returned in the response object, which contains array of friends. Each friend object has name field and id field. friend...