title: Error: FB.login() called before calling FB.init()
body: <p>I use this Facebook Login Button code:</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt;
  &lt;script&gt;
    FB.init({
      appId  : 'myActualId',
      status : true, // check login status
      cookie : true, // enable cookies to allow the server to access the session
      xfbml  : true  // parse XFBML
    });
  &lt;/script&gt;
  &lt;fb:login-button show-faces="false" width="200" max-rows="1"&gt;&lt;/fb:login-button&gt;
  </code></pre>
  
  <p>But the debug console gives me this error:
  FB.login() called before calling FB.init().</p>
  
  <p>I made a test page so my error can be seen:
  <a href="http://www.comehike.com/test_fb_connect.php" rel="noreferrer">http://www.comehike.com/test_fb_connect.php</a></p>
  
  <p>I have no idea what I am doing wrong.  Any help would be much appreciated!</p>
  
  <p>Thanks,
  Alex</p>