Facebook的API错误code 191 [英] Facebook API error code 191

查看:696
本文介绍了Facebook的API错误code 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错误code:191结果
  API错误描述:指定的URL不会被应用 - 资
  错误消息:无效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.

<一个href=\"https://developers.facebook.com/apps/.../summary\">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的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错误code 191的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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