title: Friend with the highest number of mutual friends
body: <p>I want to find my friend whom I share with them the highest number of mutual friends.<br>
  I tried to do it with FQL and graph API the following way:  </p>
  
  <ol>
  <li><p>Get the friends list of the current logged in user.<br>
  FQL: <code>SELECT uid1 FROM friend WHERE uid2="MY_USER_ID" and uid1 IN (SELECT uid1 FROM friend WHERE uid2=me())</code><br>
  Graph API: <code>$facebook-&gt;api('/me/friends?format=json&amp;limit=5000')</code>  </p></li>
  <li><p>For each one of the uid's in the list, I can get the list of mutual friends and count it.<br>
  FQL: <code>SELECT uid1 FROM friend WHERE uid2="OTHER_USER" and uid1 IN (SELECT uid1 FROM friend WHERE uid2=me())</code><br>
  Graph API: <code>$facebook-&gt;api('me/mutualfriends/OTHER_USER')</code>  </p></li>
  </ol>
  
  <p><strong>HOWEVER</strong>, it takes <strong>TONS</strong> of time to run this through all my friends...<br>
  Are you familiar with a better way to do that?</p>