What I do is,
I start by making a call with ajax to the controller/function "users/authenthicate"
This function get's the loginurl from the sdk and returns it to javascript wich does the window.open.href... sofar sogood.. I get directed to the facebook loginpage,
but after a successvol login, it redirects back to the same users/authenticate.
QUESTION: is this the normal behaviour? or can I set the redirecturl..
QUESTION: it returns the url without a slash between the questionmark so the function is never recognized like this "users/authenthicate?bladeblibla".
*I did set some url when I registred the application, but that was a completely different url something like "http://www.domain/users/facebook_login"*
thanks Richard