Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Facebook应用程序上的Facebook API错误代码:191_Facebook_Facebook Php Sdk - Fatal编程技术网

Facebook应用程序上的Facebook API错误代码:191

Facebook应用程序上的Facebook API错误代码:191,facebook,facebook-php-sdk,Facebook,Facebook Php Sdk,我正在开发一个Facebook应用程序。当我尝试获取访问令牌时,会收到以下消息: An error occurred with test. Please try again later. 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

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

An error occurred with test. Please try again later.

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.
>网址 我已经配置了

站点URL 画布URL同上 画布页面URL 我的php代码有define(“FACEBOOK_CANVAS_URL”,“URL”)


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

您是否在应用程序设置页面中提供了应用程序域,这可能是导致此错误的原因之一