title: Facebook Connect - Mobile
body: <p>I am currently in the process of creating a mobile version of my web app.
  The app is being developed with Facebook's PHP Client Library.</p>
  
  <p>The issue: </p>
  
  <p>I am using the following mobile url to allow users to log in using the mobile devices:
  <a href="http://m.facebook.com/tos.php?api_key=APIKEY&amp;v=1.0&amp;next=http%3A%2F%2Ftweelay.net%2Fm.php&amp;cancel=http%3A%2F%2Ftweelay.net%2Fm.php" rel="nofollow noreferrer">http://m.facebook.com/tos.php?api_key=APIKEY&amp;v=1.0&amp;next=http%3A%2F%2Ftweelay.net%2Fm.php&amp;cancel=http%3A%2F%2Ftweelay.net%2Fm.php</a></p>
  
  <p>APIKEY being my app's actual Facebook API key.</p>
  
  <p>In the url I am telling Facebook to redirect the user back to <code>http://tweelay.net/m.php</code> when the user signs in or clicks cancel on the log in screen. I am pulling my hair trying to figure out why it keeps sending the user to <code>http://m.tweelay.net/m.php</code> which is currently an invalid end point.</p>
  
  <p>I have gone through all of my app's settings on Facebook and I cant find any that reference <code>http://m.tweelay.net</code> and going through all of my source code I cant find any that reference the <code>m.</code> sub-domain either.</p>
  
  <p>Any ideas? Is there a setting I'm missing? Maybe a Flag in the library?</p>