需要帮助 - iFrame 应用程序 url index.php 不起作用
我正在尝试使用 php sdk 3.0 创建简单的 Facebook 应用程序。
我按照 http:// /thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/ 创建我自己的应用程序。我按照文档所述添加了我的 appid、secret、baseurl。我将所有代码上传到我的免费主机。
- CanvasURL 为“http://quang56.000space.com/fbjs”,
- 画布页面为 http://apps.facebook。 com/first_app_quang/
浏览器说网页不可用,但我的index.php 文件仍在主机中。我上传另一个文件来检查 php 的版本(http://quang56.000space.com/fbjs/info.php)并且它有效。
我还尝试将index.php更改为index.html,以便文件可用,但应用程序仍然无法工作。
问题可能是什么?
I am trying to create simple Facebook app using the php sdk 3.0.
I followed the instruction from http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/ to create my own app. I added my appid, secret, baseurl as the documentation said. I upload all code to my free host.
- Canvasurl is "http://quang56.000space.com/fbjs"
- canvas page is http://apps.facebook.com/first_app_quang/
The browser said that webpage not available but my index.php file still in the host. I upload another file to check version of php (http://quang56.000space.com/fbjs/info.php) and it works.
I also tried changing index.php to index.html so the file is available but app still did not work.
What can the problem be?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你的问题是该框架需要 CURL PHP 扩展。
这是有关如何安装 CURL PHP 扩展的教程。 (它已有 2.5 年历史了...希望它仍然适合您)
http://www.ivankristianto.com/os/ubuntu/howto-install-curl-in-php-apache/379/
I think your issue is that the framework requires the CURL PHP extension.
Here's a tutorial on how to install the CURL PHP extension. (it's 2.5 years old...hope it still works for you)
http://www.ivankristianto.com/os/ubuntu/howto-install-curl-in-php-apache/379/