title: facebook api get my friends profile pic
body: <p>Hi there I am creating an app and I want to display my friends profile picture, but what happens in my case is that my profile picture is displayed x the number of the friends that I have. Any idea of what I should change on my code ? Thanks.</p>
  
  <pre><code>   $uid = $facebook-&gt;$facebook-&gt;api('/me/friends/');
  
         //create the url
         $profile_pic =  "http://graph.facebook.com/".$uid."/picture";
  
        foreach($user_graph['data'] as $photokey =&gt; $photovalue){
       echo "&lt;img src=\"" . $profile_pic . "\" /&gt;";
        }
  </code></pre>