1

Web アプリケーションの Facebook ログインをテストしたいのですが、

現在、私の Facebook アプリのサイト URL は次のとおりです。http://localhost:8080/#/SignIn

grunt (grunt サーバー) を使用してアプリケーションを実行していますが、FB ログインにアクセスしようとすると、次のエラーが発生します。

Given URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings.  It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. 

Facebook Connect をローカルで使用するには、Apache サーバーをセットアップする必要がありますか?

4

1 に答える 1

0

grunt サーバーは問題ないはずです (問題なく使用しています)

Facebook アプリの「基本」設定で、URL を要求されます (私の場合は Canvas URL)。その URL には、http://localhost:8080. デプロイの準備ができたら、URL を実際のホストに変更できます。

于 2013-04-20T13:29:35.753 に答える