title: Chrome browser: Facebook API Error Code: 191 when invoking Requests dialog
body: <p>I'm writing a Facebook canvas application that is using a basic Requests dialog. The dialog works fine when I call it from index.php, but I get Error 191 when I call the same code from any other file.  (In my case, the code is in file2.php, which is invoked from a form in index.php and is located in the same directory). The error appears only in Chrome, and not in Firefox or IE, where everything works fine.</p>
  
  <p>Instead of seeing the request dialog, the user gets:
  "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>
  
  <p>My configuration is as follows (please note that there is no spaces between "https:" and "//"):</p>
  
  <p>App Domains: herokuapp.com</p>
  
  <p>Hosting URL: https: //mybrokenapp.herokuapp.com/</p>
  
  <p>Site URL: https: //mybrokenapp.herokuapp.com/</p>
  
  <p>Canvas Page: http: //apps.facebook.com/mybrokenapp</p>
  
  <p>Canvas URL: http: //mybrokenapp.herokuapp.com/</p>
  
  <p>Secure Canvas URL: https: //mybrokenapp.herokuapp.com/</p>
  
  <p>Page Tab URL: http: //mybrokenapp.herokuapp.com/</p>
  
  <p>Secure Page Tab URL: https: //mybrokenapp.herokuapp.com/</p>
  
  <p>The code that invokes the dialog:</p>
  
  <pre><code>      FB.ui({method: 'apprequests',
           to: 'nnnnnnnnn',
               message : 'My message',
       show_error: true
              },
              function (response){
                if (typeof response == 'undefined')
          alert('Request failed');
        else if (response == null)
          alert('Request canceled');
        else
                  alert('The response was' + response);
              }
             );
  </code></pre>
  
  <p>Could anyone tell me how I can get this to work? </p>