Redirect to auth page and then to main site

I have been playing around with my main login app for many days now, but cannot get the right behavior.

I looking for my app to behave like this:

1. when clicking on "Go to application" on FB, the response should be should be the authorize app page.. Like this one does http://www.facebook.com/zombiesgame

2. when my app is authorized, it should go to http://www.mysite.com

Anyone know how can I do this ?

Regards Allan

Try just setting up a

Try just setting up a facebook connect app (no canvas pages). Put something like this in a PHP snippet (i.e. in a block or node body):

<?php
fb_require_authorization
();
?>