Why can't I set up an app to login to an event with facebook?

I get this error each time I try, what is going on? Is there something else I have to do for facebook to work?

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.