简体   繁体   English

我可以使用localhost url作为画布URL吗?

[英]Can I use my localhost url as the canvas URL?

我可以使用我的localhost url http://localhost/mypage.php作为facebook应用程序的画布网址吗?

In the Facebook Integration section: 在Facebook集成部分:

  1. Configure the Canvas Page name, which is your application's URL on facebook.com. 配置Canvas页面名称,这是您在facebook.com上的应用程序URL。
  2. Configure the Canvas URL, and point it to your webserver. 配置Canvas URL,并将其指向您的Web服务器。 If you're developing locally, you can use http://localhost:8080/ . 如果您在本地开发,则可以使用http:// localhost:8080 / This will get used as the iframe src. 这将用作iframe src。

From : http://forum.developers.facebook.net/viewtopic.php?pid=120423 来自: http//forum.developers.facebook.net/viewtopic.php?pid = 120423

So it is possible. 所以有可能。

For testing yes, and here I mean that ONLY you can interact with this page. 对于测试是,在这里我的意思是只有你可以与这个页面进行交互。 Other users on other PCs can't access it. 其他PC上的其他用户无法访问它。

I've written a tutorial about this here . 我在这里写了一个关于这个的教程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM