title: How to get the picture url using the Facebook PHP SDK
body: <p>I'm using the latest version of the Facebook PHP SDK (version 4). I finally figured out how to use it in my PHP code. Below is my code.</p>
  
  <pre><code>        $user_profile = (new FacebookRequest($this-&gt;session, 'GET', '/me/?fields=id,first_name,last_name,picture,timezone,gender,link'))-&gt;execute()-&gt;getGraphObject(GraphUser::className());
  
          $outputArray[$i]['first_name'] = $user_profile-&gt;getFirstName();
          $outputArray[$i]['last_name'] = $user_profile-&gt;getLastName();
          $outputArray[$i]['pictureURL'] = ;
  </code></pre>
  
  <p>What do i specify to receive the picture URL, i requested it?</p>
  
  <p>Also, i manually opened up the fb php sdk file called GraphUser.php just to see if i can find the property myself. here it is on pastebin.</p>
  
  <p><a href="http://pastebin.com/K6Xg0MjN" rel="nofollow">http://pastebin.com/K6Xg0MjN</a></p>
  
  <p>As you can see, the GraphUser object doesn't contain any properties that deal with the picture, so where do i get the picture then?</p>
  
  <p>please and thanks for reading</p>