DW-CS5: Run Facebook applications on local server

假装没事ソ 提交于 2019-12-08 04:05:54

问题


Dreamweaver CS5's Live View features seems to be pretty cool. Is it possible to even live view the facebook applications inside DW that we develop, if yes, how to do it.

If not possible with DW's live view, then any other work around you may suggest please to test/view facebook applications on local server.


回答1:


It may be possible to run Facebook application locally on your server by using SSH Tunnels. (Routing requests over tunnel)

You can find an example with Ruby here: http://blog.evanweaver.com/articles/2007/07/13/developing-a-facebook-app-locally/




回答2:


I am not familiar with DW, but from that presentation it seems like it is just a built-in browser with firebug features.

The problem with developing FB apps is that app pages should be reachable from facebook.com, plus facebook doesn't accept ip as a canvas url so you can't just point it to your machine.

Just register some free third level domain (http://www.dyndns.com/) pointing to you ip address, then create a new FB app for debugging with canvas url pointing to your domain.



来源:https://stackoverflow.com/questions/3057089/dw-cs5-run-facebook-applications-on-local-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!