Developing and Testing a Facebook application

后端 未结 8 1445
盖世英雄少女心
盖世英雄少女心 2020-12-12 22:35

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 branc

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 22:48

    Try updating your hosts file (for windows users @ c:\windows\System32\Drivers\etc\hosts) with an entry that will route all requests from your live domain back to your machine.

    So 127.0.0.1 mywebappthatusesfacebook.com.

    Then make sure that your app is running at the root of your webserver. @ http://localhost/ Then goto mywebappthatusesfacebook.com in your browser and it should redirect right back to your local machine. Facebook won't know the difference. Hope this helps

提交回复
热议问题