Error message from Facebook.

I get the following message when trying to login using Facebook:

Invalid Argument
Given URL is not allowed by the Application configuration.

I also get the same error message when I try to Grant Extended Permissions.

Thanks, Mike