画布URL /安全画布URL错误信息 [英] Canvas URL / Secure Canvas URL error message

查看:114
本文介绍了画布URL /安全画布URL错误信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



但是当我尝试访问应用程序网址时,我收到以下错误消息:


对不起,您使用的应用程序配置错误。请
稍后再试。仅限开发人员的消息:要修复此错误,
请在应用程序
设置编辑器中设置Canvas URL /安全画布URL。一旦设置完毕,您的用户将被重定向到该URL而不是该错误页面。


这是怎么回事我的网址已设置:





我测试了所有网址,他们完全正常,https的工作。 >

我的index.php只有以下内容:

 <!DOCTYPE html PUBLIC -  // W3C // DTD XHTML 1.0 Strict // EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">

< head>
< meta http-equiv =Content-typecontent =text / html; charset = utf-8>
< title> Facebook测试< / title>

< / head>

< body>

< h1> Works!< / h1>

< / body>

我需要链接到Facebook SDK中的某些文件来测试我的应用程序吗? Facebook应用程序开发人员对我来说是一个未知的领域,所以任何关于这个问题的提示都是非常感激的。

解决方案

配置您的应用程序,并没有问题让它运行。你可以在这里尝试一下: https://apps.facebook.com/cbb-example/



正如Igy在答案中解释的,您需要设置安全画布网址而不是安全页面选项卡。




I'm currently trying to get a Facebook App up and running.

But I get the following error-message, when I try to access the app URL:

Sorry, the application you were using is misconfigured. Please try again later. Message for Developers Only: To fix this error, please set your Canvas URL / Secure Canvas URL in the application settings editor. Once it has been set, your users will be redirected to that URL instead of this error page.

This is how my URLs is set up:

I've tested all URLs and they're perfectly fine, https works.

My index.php only has the following content:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>Facebook test</title>

</head>

<body>

<h1>Works!</h1>

</body>

Do I need to link to some files from the Facebook SDK to test my app? Facebook app dev is uncharted territory to me, so any hints on how to go about this is highly appreciated.

解决方案

I have tried to configure your application, and had no problem to get it running. You can try it out here: https://apps.facebook.com/cbb-example/.

As Igy explained in his answer, you need to set the "Secure Canvas Url" not the "Secure Page Tab url". See attached image.

这篇关于画布URL /安全画布URL错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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