title: facebook redirect_uri set to ios URL Scheme
body: <p>I'm starting to investigate how to work with Facebook programmatically.</p>
  
  <p>I've set URL scheme in my app, so that I could open it from browser using "myappopenup://".</p>
  
  <p>Then I created an app in Facebook. Copied an AppId and tried to make like this:</p>
  
  <pre><code>let url = NSURL(string: "https://www.facebook.com/dialog/oauth?client_id={MY_APP_ID_WAS_HERE}&amp;redirect_uri=myappopenup://fbcallback")
  UIApplication.sharedApplication().openURL(url!)
  </code></pre>
  
  <p>After running this code, simulator opened safari (I've tried with SFSafariViewController first). but everything I saw was:</p>
  
  <p><a href="https://i.stack.imgur.com/ZIbgC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZIbgC.png" alt="enter image description here"></a></p>
  
  <p>So, I'd like to know: Is it possible to redirect from the Facebook oauth to my app?</p>