Facebook app domain name when using localhost

facebook

Solution

My solution:

- Leave App Domains empty

- (Products) Facebook login > Settings

- Add `http://localhost:85/my_app/` to `Valid OAuth redirect URIs` box

- Save Changes

Problem

From a tutorial here: http://ankurm.com/blog/api/using-localhost-for-facebook-app-development/1091/ I tried to set up a Local development Area for my Facebook app. But when I put "http://localhost:85/my_app/" as my domain name, Facebook says App Domains: "http://localhost:85/app-name/" should not contain protocol information. Also when I put "localhost:85/my_app/" as my domain name, I get the error: App Domains: localhost:85/my_app/ is not a valid domain.

Original source