How to test facebook application via localhost?

I am researching how to build apps in facebook. I downloaded a standard application facebook provides called "friendsmash".

The link I use as canvas URL is: localhost:8080/friendsmash_social/

When i try to load the facebook application it won't display anything. How can i test the application without publishing it?

Answers


Give the Canvas url as: http://localhost:8080/friendsmash_social/.

You can not see this in the localhost, but you can test your application by running http://localhost:8080/friendsmash_social/ in your browser


Need Your Help

Why My WebView Downloading 2 Files?

android android-browser android-download-manager

I have webview. I set it a download manager. But when I open url with .apk, it sometines downloading apk 2 times automatically and always opening complete action with dialog box.

Android focus related issue

android relativelayout

I have one RelativeLayout in which i have 5 buttons, I hide this RelativeLayout after screen timeout (If there is no user activity), and when user does some activity then i set it as visible.