title: Facebook OAuth Unable to Connect
body: <p>I have been trying to create an iOS App using Xamarin (i.e. using Xamarin.iOS on C#) and I have run into an error I can't seem to resolve.</p>
  
  <p>Basically, I have entered all the (correct) details into the default Facebook iOS SDK object as directed in the sample documents. However whenever I click login, the page returns 'unable to connect to server'.</p>
  
  <p>The (URL Decoded) link the SDK sends me to is listed below:</p>
  
  <pre><code>https://m.facebook.com/v2.3/dialog/oauth?client_id=(ID-REDACTED)&amp;default_audience=friends&amp;display=touch&amp;e2e={"init":REDACTED }&amp;redirect_uri=fb-ID-REDACTED://authorize/&amp;response_type=token,signed_request&amp;return_scopes=true&amp;scope=&amp;sdk=ios&amp;sdk_version=4.2.0&amp;state={"REDACTED":"REDACTED= ","0_auth_logger_id":"REDACTED","com.facebook.sdk_client_state":true,"3_method":1}
  </code></pre>
  
  <p>Pointing to this in a browser returns me to a blank page (when I enter in my ID which I have removed from the link above). I'm pretty certain this is due to an error in the way I have set up my application on Facebook as opposed to an error with the SDK (I'm using the default provided by Xamarin). I have removed the app from Sandbox Mode as directed and I have tried to follow the instructions provided on a couple of forum posts but nothing has changed and I am at a loss right now...</p>
  
  <p>Any advice?</p>
  
  <p>Thanks! </p>