开发和测试Facebook应用程序 [英] Developing and Testing a Facebook application

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

问题描述

通常我在中继线上开发我的网站,然后将更改合并到一个测试分支,将它们放在测试版网站上,然后最终合并到一个实时分支上,并放到实时网站上。



使用Facebook应用程序有点棘手。由于您无法通过普通网络浏览器(必须通过Facebook服务器)查看Facebook应用程序,因此您无法轻松地为每个开发人员提供自己的网站版本来处理和测试。



我没有遇到任何关于开发和测试Facebook应用程序的最佳方法,同时继续拥有一个稳定的用户可以使用的实时网站。我的问题是,组织Facebook应用程序的开发和测试的最佳做法是什么?

解决方案

我的合作伙伴是我们每个人都制作了我们自己的私人Facebook应用程序,指出了我们在其上工作的IP地址。由于我们在同一个地方工作,我们每个人都选择了不同的端口,并将我们的路由器转发到我们本地的IP地址。刷新页面有点慢,但它工作得很好。


Typically I develop my websites on trunk, then merge changes to a testing branch where they are put on a 'beta' website, and then finally they are merged onto a live branch and put onto the live website.

With a Facebook application things are a bit tricky. As you can't view a Facebook application through a normal web browser (it has to go through the Facebook servers) you can't easily give each developer their own version of the website to work with and test.

I have not come across anything about the best way to develop and test a Facebook application while continuing to have a stable live website that users can use. My question is this, what is the best practice for organising the development and testing of a Facebook application?

解决方案

The way I and my partner did it was we each made our own private Facebook applications, that pointed to our IP address where we worked on it. Since we worked in the same place, we each picked a different port, and had our router forward that port to our local IP address. It was kinda slow to refresh a page, but it worked very nicely.

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

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