$query = 'SELECT friend_count FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) and sex='male'';
$url = "https://graph.facebook.com/fql?q=" . urlencode($query) .
"&access_token=" . $access_token;
$data = json_decode(file_get_contents ($url));
$boys = count($data[data]);
echo $boys;
그 비율 페이스 북의 애플 리케이션 ... 내가 응용 프로그램이남성과 여성의 친구의 수를 얻고 난이 방법을 시도했지만 원하는 결과를 얻을 수없는 한
처럼 만들고 싶어 무엇을하는 방법
https://graph.facebook.com/me/friends?fields=gender
그것이 FQL 할 필요가 있는가, 또는 그래프 API를 사용하고자하는? –