title: Get html source page of the user with facebook graph api
body: <p>I am trying to get the source page of the facebook user <strong>after he logged in</strong>, the login is with Facebook api, I'm using php language.</p>
  
  <p>For example:</p>
  
  <ol>
  <li><p>Some user login to my app named "FName LName"</p></li>
  <li><p>So I want the source page of "view-source: <a href="https://www.facebook.com/FName.LName" rel="nofollow noreferrer">https://www.facebook.com/FName.LName</a>"</p></li>
  </ol>
  
  <p>Let's say that I have a string variable to store the whole html content, How can I do that?</p>
  
  <p>this <code>echo file_get_contents('https://www.facebook.com/FName.LName);</code> gives the login page, I need the source page of the profile page of the <strong>same user that logged in to my app</strong>.</p>
  
  <p>I used <a href="https://www.youtube.com/watch?v=_BcwbftTWGE" rel="nofollow noreferrer">this toutorial</a> for php facebook graph api, my code looks like <a href="https://github.com/sohaibilyas/facebook-php-sdk-v5/blob/master/canvas-app-login-get-basic-info.php" rel="nofollow noreferrer">this</a>.</p>
  
  <p>Is it possible? can you show me how step by step please? (with code)</p>