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

查看:49
本文介绍了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 错误说明:指定的 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.

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 或画布 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天全站免登陆