title: Error Message: redirect_uri is not owned by the application
body: <p>::UPDATE:: LINKS DO NOT EXIST ANYMORE!</p>
  
  <p>Very strange indeed, this is definitely a bug! I did a test with app_id from another application and it worked.
  See for yourself:</p>
  
  <p><a href="https://apps.megalopes.com/megabraziltv/test.php" rel="nofollow">https://apps.megalopes.com/megabraziltv/test.php</a> (app_id correct)</p>
  
  <p><a href="https://apps.megalopes.com/megabraziltv/test2.php" rel="nofollow">https://apps.megalopes.com/megabraziltv/test2.php</a> (app_id from another application)</p>
  
  <p>---/---</p>
  
  <p>I found several people with the same question and all the answers are equal:
  Site URL is not same as REQUEST_URI (Redirecting URL)</p>
  
  <p>My app setting are:</p>
  
  <p>Secure Page Tab URL: apps.megalopes.com/megabraziltv/...</p>
  
  <p>App Domain: megalopes.com</p>
  
  <p>code:</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
        &lt;script src="http://connect.facebook.net/pt_BR/all.js"&gt;
        &lt;/script&gt;
        &lt;script&gt;
           FB.init({ 
              appId:'123456789', cookie:true, 
              status:true, xfbml:true 
           });
  
           FB.ui({ method: 'apprequests', 
              message: 'Here is a new Requests dialog...'});
        &lt;/script&gt;
  </code></pre>
  
  <p>This simple code is not redirecting to any other url. I tested on the js console getting the same results. Sometimes works and sometimes I get this error message:</p>
  
  <blockquote>
    <p>API Error Code: 191  API Error Description: The specified URL is not
    owned by the application  Error Message: redirect_uri is not owned by
    the application.</p>
  </blockquote>