Facebook API错误代码191 [英] Facebook API error code 191

查看:149
本文介绍了Facebook API错误代码191的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

Facebook API错误191

我正在开发一个Facebook应用程序。当我尝试获取访问令牌时,我会收到以下消息:

I'm developing a Facebook app. When I attempt to get an access token, I get the following message:


测试发生错误。请稍后再试。

An error occurred with test. Please try again later.

API错误代码:191

API错误说明:指定的网址不属于应用程序

错误消息:无效的redirect_uri:应用程序配置不允许给定的URL。

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.

https://developers.facebook.com/apps/.../summary

我已经配置了应用的域名( appsdot.xxx.com ),名称和其他属性。

I've configured the app's domain (appsdot.xxx.com), name and other attributes.

导致此错误的原因是什么?如何修复?

What is causing this error, and how do I fix it?

推荐答案

redirect_uri必须包含站点URL或应用程序设置中定义的Canvas URL。当我设置一个不包含应用设置中的URL的redirect_uri时,我总是收到此错误。

The redirect_uri must contain the Site URL or Canvas URL as defined in your App Settings. I always get this error when I set a redirect_uri that doesn't contain the URLs in App Settings.

这篇关于Facebook API错误代码191的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆