Go to fb called before fb init login page via official link below
Login using your username and password. Login screen appears upon successful login
If you still can't access fb called before fb init login then see Troublshooting options or contact us for help.
FB.getLoginStatus () called before calling FB.init ().
FaceBook Login Button Error: FB.login () called before calling FB.init ()
Trying to click on the "Login with Facebook" button would do nothing but result in this JS console error: "FB.login () called before calling FB.init ()." The page would just keep reloading itself. You may have guessed just by looking at the above code what the cause of the problem is.
error: FB.login() called before FB.init() #71. dmorrow opened this issue Oct 27 2016 · 11 comments Comments. Copy link dmorrow commented Oct 27 2016 ...
Join Stack Overflow to learn share knowledge and build your career.
FB.login() called before calling FB.init() and on drupalforfacebook.com i cannot log out. that can be dangerous. thanks. Log in or register to post comments; Comment #7 Dave Cohen Credit Attribution: Dave Cohen commented 15 October 2010 at 20:58. What browser are you using when you can't log out? Do you have any special cookie privacy settings?
After doing a first successful login trying to logout prints the log "FB.logout called before calling FB.init". Then trying to login again (without calling init again before) of course gives the same error but the problem then is that it doesn't call the new fail method in the FB.login call.
I am trying for the Facebook connect plugin. But i am getting the following error in android log in eclipse "FB.login() called before FB.init() at file facebook_js ...
This is printed in the console log on every page load - even on the demo site. FB.getLoginStatus () called before calling FB.init (). I'm not sure the cause some answers on StackOverflow suggest Facebook's API might have changed. kayue commented on Dec 1 2012
FB.login() called before FB.init(). I can probably get around it by directly calling FB.init() but there doesn't seem to be any documentation on doing this.