title: Error messages when trying to use the Facebook API
body: <p>I am getting an error message when attempting to use the Facebook API.</p>
  
  <p>When I have Client OAuth Login enabled, Web OAuth Login enabled and a valid Oauth redirect URI set to <a href="http://localhost:8000/" rel="nofollow noreferrer">http://localhost:8000/</a> the error I get is this when trying to log into Facebook with the correct App ID:</p>
  
  <p>URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.</p>
  
  <p>Is there a particular setting or thing I have to put in code to get this to work correctly?</p>
  
  <p>This is the code I've got:</p>
  
  <pre><code>    $(window).load(function() {
          if (window.cordova.platformId == "browser") {
              facebookConnectPlugin.browserInit(MYAPPIDHERE);
          }
      });
  </code></pre>
  
  <p>And this:</p>
  
  <pre><code>            facebookConnectPlugin.login(["user_likes"],
                      function(response) {
                          likes();
                      },
                      function(response) {
                          likes();
                      });
          }
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>Added pictures of what is in the Facebook App, as well as the URL I am navigating from.</p>
  
  <p><a href="https://i.stack.imgur.com/yxLmF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yxLmF.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Iu2fr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Iu2fr.jpg" alt="enter image description here"></a></p>