title: PhoneGap WindowsPhone 8 Facebook Connect with InAppBrowser
body: <p>Using the PhoneGap plugin phonegap.facebook.inappbrowser  <a href="https://github.com/caiovaccaro/phonegap.facebook.inappbrowser" rel="nofollow">https://github.com/caiovaccaro/phonegap.facebook.inappbrowser</a></p>
  
  <p>It fails after entering the Facebook login details. A blank screen with error message  "We are having trouble displaying this page." appears. </p>
  
  <p>My conjecture is that this is due to trying to call show() on the InAppBrowser which is not supported in Windows Phone. </p>
  
  <p>The code from the plugin that is suspected is line 171 of the plugin in the login method:</p>
  
  <pre><code> faceView.addEventListener('loadstop', function(){
      faceView.show();        
      });
  </code></pre>
  
  <p>This approach works fine on iOS and Android.</p>
  
  <p>Was someone able to use the plugin on Windows Phone? Or can you point me to some useful plugin to do Facebook login in PhoneGap on Windows Phone?</p>
  
  <p>Would appreciate any insight.</p>
  
  <p><strong>After Further Tests</strong></p>
  
  <p>Able to resolve.</p>
  
  <p>It works on Windows Phone in the current version. 
  What happened is that when you install the InAppBrowser plugin on a Mac and you then want to use it in Windows Phone it does not work properly. It happened to me also for the Device Motion plugin. 
  You are able to make the call in the JavaScript but nothing happens on the native level. 
  I had to create two branches in Git. One for Android and iOS and another for Windows Phone. Then, add the plugin separately in each. By the way if you add the plugin on Windows, phone gap build had compilation errors for iOS later on Mac.</p>