title: Facebook SDK with Android, get code instead of access token
body: <p>I'm building an app containing a WebView that loads a website.
  When the user presses on the "connect with Facebook" on the website I immediately open up the "Login with Facebook" using the Facebook SDK to make the authentication step easier using the app on the user device instead of the web form.</p>
  
  <p>Now, my website is using vBulletin that when login finished it is redirected to:</p>
  
  <p><a href="http://mywebsite.com/community/index.php?dofbredirect=1&amp;code=[MY_CODE]&amp;state=[SOME_STATE]" rel="noreferrer">http://mywebsite.com/community/index.php?dofbredirect=1&amp;code=[MY_CODE]&amp;state=[SOME_STATE]</a></p>
  
  <p>The state I can get from the webview which was loaded when the user pressed the "Connect with facebook" in the website, but the code is something that I can't have, I can only obtain access token.</p>
  
  <p>Is there is any method of exchanging code instead of access token using the Facebook SDK?</p>