Open reisba opened 12 years ago
While this seams weird, your workaround did the trick. Thanks
Check: http://developers.facebook.com/docs/reference/javascript/FB.getLoginStatus/ (section Checking user status on page load)
You could use this instead of: {{ facebook_initialize({'xfbml': true, 'status': true, 'fbAsyncInit': 'onFbInit();'}) }}
I don't know if anyone else has had this issue, but the fbml login button doesn't seem detect 'logged in' status correctly with autologoutlink: true. Meaning: regardless if I am logged into facebook or not, the fbml login button is always displayed in "log in"-state on initial page load.
However running FB.getLoginStatus seemed to automatically set the fbml-button to correct state. If this issue is repeating on others, it might be good to mention it in your documentation.