title: Can Facebook JS SDK work with Phonegap / Cordova?
body: <p>I have Senscha 2.0 mobile application which I want to build using latest phonegap (cordova).</p>
  
  <p>I want to add facebook login functionality. I found three options:</p>
  
  <ol>
  <li>Use ChildBrowser approach </li>
  <li>Use InAppBrowser.</li>
  <li>Use cordova facebook plugin</li>
  </ol>
  
  <p>I decided to go with the second one.</p>
  
  <p>I have problem with domain in FB app settings (Mobile Site URL).</p>
  
  <p>I typed one of my domains there, but when building app using Cordova in xCode, facebook response with an error, because obviously phonegap / cordova doesn't "use" any domain.</p>
  
  <p>When I uploaded my app (without using phonegap) to domain which I typed in Facebook settings, everything works on my iPhone (using as website in Safari).</p>
  
  <hr>
  
  <p>To be more precise.</p>
  
  <p>Facebook JS SDK works when I'm using my application as "mobile web application".</p>
  
  <p>When I build my project using Cordova / Phonegap (it automatically uses InAppBrowser plugin), it stops working.</p>
  
  <p>Will Facebook JS SDK work with Phonegap / Cordova?</p>