开发者

Local Facebook App Development using localhost

开发者 https://www.devze.com 2022-12-28 06:49 出处:网络
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 开发者_Go百科an internal IP address like localhost

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 开发者_Go百科an internal IP address like localhost http://127.0.0.1?


It is now possible to develop Facebook apps locally.

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.

Take a look at this answer:

Testing FB apps is still a rather primitive process.

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.


you can use http://127.0.0.1/ProjectName as the callback url, or your ip address itself

0

精彩评论

暂无评论...
验证码 换一张
取 消