title: You are not logged in. Please log in and try again
body: <p>I'm using phonegap facebook connect plugin (<a href="https://github.com/Wizcorp/phonegap-facebook-plugin">https://github.com/Wizcorp/phonegap-facebook-plugin</a>) for Facebook Authentication in app. It was working till today morning. Now suddenly it stops working and gives error as below for different devices iOS &amp; Android:</p>
  
  <p>For Android:</p>
  
  <blockquote>
    <p>You are not logged in. You are not logged in. Please log in and try again.</p>
  </blockquote>
  
  <p>For iOS:</p>
  
  <blockquote>
    <p>Given URL is not allowed by the application configuration: One or more of the given URL is not allowed by the App’s settings. To use this URL you must add a valid native platform in your App’s settings</p>
  </blockquote>
  
  <p>I'm using following code in <code>config.xml</code>:</p>
  
  <pre><code>&lt;gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.9.0"&gt;    
       &lt;param name="APP_ID" value="99885XXXXXXXXX" /&gt;
       &lt;param name="APP_NAME" value="Test App" /&gt;
  &lt;/gap:plugin&gt;
  </code></pre>
  
  <p>facebook call:</p>
  
  <pre><code>function fbLogin() {
          facebookConnectPlugin.login(
          ["public_profile", "email"],
          function (response) {
              var OAuthToken = response.authResponse.accessToken;
              var OAuthAccessToken = response.authResponse.userID;
              if (response.authResponse) {
                  facebookConnectPlugin.api('/me', null,
                      function (me_response) {
                          alert("Success: " + me_response);
                          facebookConnectPlugin.logout(function (response) {}, function (response) {});                            
                      });
              }                
          },
          function (response) {                
              alert("Error: " + me_response);
          }
      );
  }
  </code></pre>
  
  <p>Don't know what is the issue here.</p>