title: Get Facebook real profile image URL
body: <p>According to Facebook graph API we can request a user profile picture with this (example):</p>
  
  <p><a href="https://graph.facebook.com/1489686594/picture" rel="noreferrer">https://graph.facebook.com/1489686594/picture</a></p>
  
  <p>We don't need any Token since it's a public information.</p>
  
  <p>But the real image URL of the previous link is: <a href="http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs356.snc4/41721_1489686594_527_q.jpg" rel="noreferrer">http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs356.snc4/41721_1489686594_527_q.jpg</a></p>
  
  <p>If you type the first link on your browser, it will redirect you to the second link.</p>
  
  <p>Is there any way to get the full URL (second link) with PHP, by only knowing the first link?</p>
  
  <p>I have a function that gets the image from a URL to store it in the database, but it does work only if it get the full image URL.</p>
  
  <p>Thanks</p>