私はちょうどhost.comでhostel6.inドメイン名を登録したばかりで、/fb/hogwarts_teamフォルダーにfacebookアプリがあります。
アプリの設定で次の設定を使用しています
App Domain: hostel6.in
Site URL: http://hostel6.in/fb/hogwarts_team
Canvas URL: http://hostel6.in/fb/hogwarts_team/
Secure Canvas URL: https://secure.justhost.com/~hostelsi/fb/hogwarts_team/
URL経由でアプリを使用している場合
apps.facebook.com/hogwarts_team/
エラーが発生しています
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
しかし、URL経由でアプリを使用している場合:
hostel6.in/fb/hogwarts_team/
すべて正常に動作します。
これらの設定とは別に、fbmain.php で次のコードを使用しました。
$fbconfig['baseUrl'] = "http://hostel6.in/fb/hogwarts_team/"
同様の質問に対するstackoverflowの解決策をすでに読んでいますが、うまくいきませんでした。