title: OAuth - How to get Facebook user profile url?
body: <p>I don't know why I've got the different between the <code>id</code> from Facebook url and <code>ProviderKey</code> in the controller.</p>
  
  <p>Here is my profile url: <a href="https://www.facebook.com/profile.php?id=100008491477935" rel="nofollow">https://www.facebook.com/profile.php?id=100008491477935</a>. So, my id is <strong>100008491477935</strong></p>
  
  <p>But, when I use that account to login, the <code>ProviderKey</code> is not the same:</p>
  
  <p><code>var loginInfo = await AuthenticationManager.GetExternalLoginInfoAsync();</code></p>
  
  <p><code>loginInfo.Login.LoginProvider</code> is <strong>1488586148101087</strong></p>
  
  <p>I can get the picture from this url: <a href="https://graph.facebook.com/1488586148101087/picture" rel="nofollow">https://graph.facebook.com/1488586148101087/picture</a></p>
  
  <p>But, I've got error message <em>Profile Unavailable</em> when trying to go to <a href="https://www.facebook.com/profile.php?id=1488586148101087" rel="nofollow">https://www.facebook.com/profile.php?id=1488586148101087</a></p>
  
  <p>The <code>id</code> is not correct (different from <code>ProviderKey</code>).</p>
  
  <p>I wanna get user profile url by using <code>ProviderKey</code> like the <code>id</code>. Is there a way to do that?</p>
  
  <p>Thank you!</p>