title: Facebook access token problem
body: <p>I am connecting to login facebook page through an url. I receive the access token in my application and i can prints all my contacts from the list. I have a problem: there are times when i do receive the access token and if i logout from facebook and rebuild my application the second time , i don't have any access token. WHY? If i wait i guess 10-15 minutes and try again it works. How to resolve this? THX</p>
  
  <p>I am using the auth url. THe following link was my example link:
  <a href="http://geekdeck.com/vb-net-facebook-get-access-token-for-desktop-application/" rel="nofollow">http://geekdeck.com/vb-net-facebook-get-access-token-for-desktop-application/</a></p>
  
  <p>EDIT:</p>
  
  <p>I have the following code:</p>
  
  <pre><code>browserFacebook.Navigate(@"https://graph.facebook.com/oauth/authorize?client_id="+ FacebookApplicationID + "&amp;redirect_uri=http://www.facebook.com/connect/login_success.html&amp;type=user_agent&amp;display=popup");
  
   string someString = browserFacebook.Url.ToString();
  </code></pre>
  
  <p>This returns something like the following:</p>
  
  <pre><code>"http://www.facebook.com/connect/login_success.html#access_token=ACCESS TOKEN.expires_in=0"
  </code></pre>
  
  <p>I can then easily use this access token with the Graph API to access an users facebook details as in the following code:</p>
  
  <pre><code>Facebook.FacebookGraphAPI g = new FacebookGraphAPI("ACCESS_TOKEN");
      var fbUser = g.GetObject("me", null);
  </code></pre>
  
  <p>PROBLEM:</p>
  
  <p>When I rebuild the application, the link that i receive is OpenDNS (or navigation to the webpage was canceled) and I have to access token. Why? How can I resolve this error?  After a a while 1-2 hours I receive again the token.</p>