Your Facebook application "owns" by default the canvas url http://apps.facebook.com/your_app
, but also a given domain which you have to enter. The redirect_uri
is for security reasons only able to redirect you to either.
If you're unable to make this work, you can have the redirect_uri
to point to a site such as http://apps.facebook.com/my_redirect
and simply have controllers/my_redirect.php's index
function to echo <script>top.location = 'http://google.com'</script>
for example.
Regardless, check your settings in your application, and read up on these errors more since a lot people have posted them and gotten answers for them aswell.