本地Facebook应用程序开发使用localhost [英] Local Facebook App Development using localhost

查看:128
本文介绍了本地Facebook应用程序开发使用localhost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在我的系统上本地开发Facebook应用程序,以便回调URL不需要像 http://abc.com 这样的公共URL,而是可以一个内部IP地址,如localhost http://127.0.0.1

Is it possible to develop facebook apps locally on my system so that the callback URL need not be a public URL like http://abc.com and instead can be an internal IP address like localhost http://127.0.0.1?

推荐答案

p>现在可以在本地开发Facebook应用程序。

It is now possible to develop Facebook apps locally.

我相信这是真的,特别是如果你正在开发一个iframe,现在是开发的标准方式Facebook应用程式(FBML已被弃用)

I believe this is true especially if you're developing in an iframe, which is now the standard way of developing facebook apps (FBML is deprecated).

如果这样做不起作用,仍然有一些方法可以使工作更方便。

In case this does not work, there are still some ways to make working more convenient.

查看此答案


测试FB应用程序仍然是一个相当原始的过程。

Testing FB apps is still a rather primitive process.

我通常设置一个测试应用程序,该测试应用程序是使用SSH隧道指向我的开发服务器的FB开发环境中的生产设置的完整副本。您可以根据需要在FB中设置尽可能多的应用程序 - 我通常有开发应用程序,分段应用程序和生产。分段和生产都在实时服务器上,而不是SSH隧道。

I generally setup a test application that is a complete copy of the production settings inside the FB development environment that uses an SSH tunnel to point to my development server. You can setup as many applications as you need inside FB - I generally have a development application, a staging app and production. Staging and Production are both on "live" servers rather than an SSH tunnel.

其余答案这个问题详细介绍了人们利用的不同工作流程,以便在远程主机上开发更加方便。

The rest of the answers to this question detail different workflows that people have utilized to make it more convenient to develop on a remote host.

这篇关于本地Facebook应用程序开发使用localhost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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