title: How do I get the list of mutual friends on Facebook using their API?
body: <p>I am trying to get a list of mutual friends of myself and another user but none of the API I found in the documentation works. Either I get some weird permission errors that I can only get my friends list and no other user or I get the following error:</p>
  
  <pre><code>Fatal error: Call to a member function friends_getMutualFriends() on a non-object in /home/app.php on line 27 
  </code></pre>
  
  <p>Is there a standard way that is used to get the total number of mutual friends or at least the list of friend ids of my friend?</p>