title: Facebook Login from a non hosted web page
body: <p>I am creating an hybrid app totally based on Html, CSS and Javascript.</p>
  
  <p>I want to add facebook login functionality but as the web page isn't hosted any where i keep getting the warning message :</p>
  
  <pre><code>Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings.  It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
  </code></pre>
  
  <p>Also clicking on the login button opens up a blank window.</p>
  
  <p>Following this tutorial:
  <a href="https://developers.facebook.com/docs/facebook-login/login-flow-for-web/" rel="nofollow">https://developers.facebook.com/docs/facebook-login/login-flow-for-web/</a></p>
  
  <p>I am <strong>not</strong> using Phonegap , sencha or any other framework.</p>
  
  <p>Is there a way I can achieve this?</p>