title: FB Login Button Not Showing in Chrome and IE
body: <p>I have seen similar problems posted here, and I have added as many solutions that made sense (HTML Doc changes, relocating and reordering the scripts/button) but the button only renders and is click-able in Firefox.</p>
  
  <p>Facebook Tab/Page interface is here: facebook.com/TodaysAesthetics/app_157293451075619</p>
  
  <p>Hosted Page can be seen by clicking the link... (I can't post more links)</p>
  
  <p>FB Settings:
  App Domains: hosted site WITH and WITHOUT www (I read www could be a culprit)
  Website with Facebook Login->Site URL: DOMAIN/facebook/
  (I have tried DOMAIN/facebook/ and DOMAIN/facebook/todays)</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    &lt;?php 
            define('YOUR_APP_ID', '[edit]');
            define('YOUR_APP_SECRET', '[edit]');
            function get_facebook_cookie($app_id, $application_secret) {
            $args = array();
            list($encoded_sig, $payload) = explode('.', $_COOKIE['fbsr_' . $app_id], 2);
            $sig = base64_decode(strtr($encoded_sig, '-_', '+/'));
            $data = json_decode(base64_decode(strtr($payload, '-_', '+/')), true);
            if (strtoupper($data['algorithm']) !== 'HMAC-SHA256') {
               return null;
            }
            $expected_sig = hash_hmac('sha256', $payload,
            $application_secret, $raw = true);
            if ($sig !== $expected_sig) {
                return null;
            }
            $token_url = "https://graph.facebook.com/oauth/access_token?"
           . "client_id=" . $app_id . "&amp;client_secret=" . $application_secret.     "&amp;redirect_uri=" . "&amp;code=" . $data['code'];
            $response = @file_get_contents($token_url);
            $params = null;
            parse_str($response, $args);
            return $args;
          }
            $cookie = get_facebook_cookie(YOUR_APP_ID, YOUR_APP_SECRET);
            if ($cookie) {
                 $user = json_decode(file_get_contents('https://graph.facebook.com    /me?access_token=' . $cookie['access_token']));
          }
      ?&gt;
            &lt;?php if ($cookie) { ?&gt;
   &lt;form&gt;
                &lt;input type="button" id="hide" value="Print" onClick="printc()"&gt;
              &lt;/form&gt;
            [MY COUPON IMAGE]
              &lt;?php } else { ?&gt;
              &lt;fb:login-button scope="email,user_birthday,user_location" onlogin="window.location.reload()" autologoutlink="true"&gt;Connect to Facebook to View Special&lt;/fb:login-button&gt;
                        &lt;?php } ?&gt;
                  &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: '&lt;?= YOUR_APP_ID ?&gt;', status: true,
                         cookie: true, xfbml: true,oauth:true});
                FB.Event.subscribe('auth.login', function(response) {
                  window.location.reload();
                });
              &lt;/script&gt;
  </code></pre>
  
  <h1>             </h1>
  
  <p>Please let me know if I can provide any other information, or if I missed any answers.  I HAVE tried to change the order of these scripts vs. div, etc, but I will try anything at this point. THANKS</p>