how to go to the application after logging in

Jan 18, 2008 at 8:17 PM
Hi there
I have this situation, sometimes I give people the url of my application on facebook: http://apps.facebook.com/dylmapp
this works fine if they are already logged in facebook, otherwise it will direct them to the log in page... so far so good

now, after the log in page, facebook will redirect them to the callback-url on the settings, which for obvious reasons is the url on my server http://apps.myserver.com/dylmapp

at that point it will fail, because since it's not in facebook.com but on myserver.com they won't see any facebook info.

Again, this only happen if the user was not logged in at the beginning of the process, so

is there a way to redirect them to http://apps.facebook.com/dylmapp after they log in? if i set this on the application settings on "callback-url" then there is no way for facebook to know where the page is located on my server