The answer is to use FB.Event.subscribe(‘auth.statusChange’,callbackfunction), but good luck finding that in the documentation!
ref: http://developers.facebook.com/docs/reference/javascript/FB.init/
The answer is to use FB.Event.subscribe(‘auth.statusChange’,callbackfunction), but good luck finding that in the documentation!
ref: http://developers.facebook.com/docs/reference/javascript/FB.init/