Possible Duplicate:
Facebook API error 191
I want to use facebook autentication on my web site. if I test my application on the server using the real domain name, everything works.
however if I test it locally. I kept getting this error message
http:// localhost:60627/account/FacebookLogin?returnUrl=
Error
An error occurred with Put a straw in it. Please try again later.
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
I pretty sure my code is fine, because it works on production server. it must be the setting in facebook.
I searched on google, there are alot posts regarding this problem.
this is what I tried.
Sandbox mode is set to disabled. I already did this.
Set value for canvas URL. Mine is not app on facebook, I dont think this will work for me.
try to add localhost to app domains, but facebook wont let me.
please help me to figure out why I only get this message on local machine?