This is what I did before.
If you are using Windows, you need to modify the host file. The location of the host file will be in %SystemRoot%\System32\drivers\etc\
Add a new line to the host file as follows:
127.0.0.1 localhost.YOUR-SITE-NAME.com
Save the host file.
Go to the FB application settings control panel and enter localhost.YOUR-SITE-NAME.com in the Apps domain field. Save changes.
Now download the local environment, for example localhost.YOUR-SITE-NAME.com , from your browser.
NB. Change the SITE NAME to your domain name.
kiranvj Jan 05 '14 at 15:16 2014-01-05 15:16
source share