title: Facebook Like Button popup dialog closing immediately after clicking
body: <p>I am simply trying to test a bit of like functionality on a test page and am getting unexpected behavior. When I click the like button the dialog(the one where you can add text and post to your wall) pops up for about half a second before closing by itself. The like button itself turns into a link that says "confirm". I really have the bare bones here and am not sure what could be going wrong. I'm using FBML. Here is the complete code for my test page:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Facebook Like Test&lt;/title&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
      &lt;div id="fb-root"&gt;&lt;/div&gt;
  
      &lt;script&gt;
           window.fbAsyncInit = function () {
              FB.init({
                  appId: 'myid',
                  status: true, // check login status
                  cookie: true, // enable cookies to allow the server to access the session
                  xfbml: true  // parse XFBML
              });
          };
  
          // Load the SDK Asynchronously
          (function (d) {
              var js, id = 'facebook-jssdk'; if (d.getElementById(id)) { return; }
              js = d.createElement('script'); js.id = id; js.async = true;
              js.src = "//connect.facebook.net/en_US/all.js";
              d.getElementsByTagName('head')[0].appendChild(js);
          } (document));
  
      &lt;/script&gt;
  
      &lt;h1&gt;Facebook Like Testing&lt;/h1&gt;
      &lt;div&gt;
          &lt;fb:like href = "http://www.example.com?id=1"&gt;&lt;/fb:like&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;fb:like href = "http://www.example.com?id=2"&gt;&lt;/fb:like&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;fb:like href = "http://www.example.com?id=3"&gt;&lt;/fb:like&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;fb:like href = "http://www.example.com?id=4"&gt;&lt;/fb:like&gt;
      &lt;/div&gt;  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I simply appended an arbitrary as a query string to make the hrefs unique. What could be going wrong here?</p>