Facebook分享对话框 - 无效的URL错误
问题描述:
我已经在Facebook开发人员帐户创建应用程序,我已经设置了网站网址:http://www.xxxxxxx.comFacebook分享对话框 - 无效的URL错误
如果我打开从www.xxxxxxx.com的页面,那么它完美的作品。
如果我从xxxxxxx.com打开网页,那么它产生以下错误:
An error occurred. 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
我应该如何指定我在我的应用程序的网址,以避免这个错误?
答
您可以在Facebook上的应用程序设置中设置网址。将xxxxxxx.com添加到表单字段以使其工作(除了www.xxxxxxx.com)。 您只能正确使用拥有/设置的网址。
我建议您尝试使重定向网址与链接网址相同。所以,如果你的链接是www ...那么你的重定向url应该是www。,反之亦然,如果你的链接没有www ..那么你的重定向url应该没有www ... –