我曾经能够,但由于某种原因,我所有使用 FB.ui() 的 Facebook Javascript API 调用不再在我的 url 为 localhost:8080 的开发环境中工作。在生产中它工作正常。我有一个开发环境 Facebook 应用程序,但我只是在其中更改了 URL。我认为这就是问题所在。我如何拥有一个允许从开发和生产环境调用 FB.ui() 的 Facebook 应用程序?这是我在 dev 中调用 FB.UI() 时遇到的错误:
An error occurred with AppleTree dev. Please try again later.
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.