[英]How to make Facebook app Live from http://localhost/index.php
I have written a app in PHP on my localhost server using XAMP, which is meant to be a Facebook app. 我已经使用XAMP在本地服务器上用PHP编写了一个应用程序,该应用程序将成为Facebook应用程序。 The app [which i wrote] consists of two php pages. 该应用程序(我写的)包含两个php页面。
But the problem is I am not being able to make it live on Facebook. 但是问题是我无法在Facebook上发布它。 I have tried reading the documentations, but all in vain. 我试过阅读文档,但徒劳无功。 Moreover i dont have any websites in my name. 此外,我没有任何以我的名字命名的网站。
So please kindly help, what changes should i make in my codes and the subsequent steps in making my small facebook app go online ?? 因此,请提供帮助,我应该对我的代码进行哪些更改以及使我的小型Facebook应用程序联机的后续步骤?
you can always get a dynamic domain like http://www.no-ip.com/ it will then allow you to setup a DNS record from them to your server / app. 您总是可以得到一个动态域名,例如http://www.no-ip.com/ ,它将允许您设置从它们到您的服务器/应用程序的DNS记录。
The DNS would look something like myapp.no-ip.com (or anything else they offer). DNS看起来像myapp.no-ip.com (或它们提供的其他任何东西)。
Localhost is fine for a 'local' test, but beyond that you need to have a real way for users to reach you, remember in most cases facebook has to reach your app for confirmation, etc;. Localhost适用于“本地”测试,但除此之外,您还需要一种真正的方式让用户与您联系,请记住,在大多数情况下,facebook必须通过您的应用进行确认,等等;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.