title: PHP Facebook connect redirection to unauthorized URL
body: <p>I've been working on facebook app to get api key from the user and use to get info such messages and notifications.</p>
  
  <p>The problem I have is with facebook connect button:
  in my facebook app I authorize an URL for the app but the project working on separated machine in LAN (with access to the WWW) so I made the connect at public domain: <a href="https://kerenproject.net/social.php" rel="nofollow">https://kerenproject.net/social.php</a> and authorized this url at the app page.</p>
  
  <p>The problem I have is how to "include" this social.php link at my project lan based website which is unauthorized?</p>
  
  <p>For this moment I do some kind of redirection but it shows me the button "connect with facebook" every time, is there any way to redirect to social.php and get the api key back?
  Thanks.</p>