title: Seamless like button (without confirmation dialog)
body: <p>I wanted to test like button for a single element in my Facebook application, first in localhost. As the url has to be reachable to facebook, I used tunneling, which already works fine for credits callback.</p>
  
  <p>As one clicks on the like button, the like count increments and suddenly the like button is replaced by a "confirm" link. Clicking on it shows a preview of the content and asks for confirmation. After confirming, the count again appears for a moment and then disappears. But the news feed shows the activity.</p>
  
  <p>Also when one unlikes the page by clicking the X button and selecting "Remove post and unlike" from the news feed, it always fail for the first time, but when one repeats the action, it gets unliked successfully.</p>
  
  <p>The page being liked is something like this:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:og="http://ogp.me/ns#"
        xmlns:fb="http://www.facebook.com/2008/fbml"&gt;
    &lt;head&gt;
      &lt;title&gt;My App&lt;/title&gt;
      &lt;meta property="og:title" content="My App"/&gt;
      &lt;meta property="og:type" content="game"/&gt;
      &lt;meta property="og:url" content="&lt;The server url that tunnels to my local machine&gt;"/&gt;
      &lt;meta property="og:image" content="path/to/some/image"/&gt;
      &lt;meta property="og:site_name" content="My App"/&gt;
      &lt;meta property="fb:admins" content="&lt;My uid&gt;"/&gt;
      &lt;meta property="fb:app_id" content="&lt;My app_id&gt;"/&gt;
      &lt;meta property="og:description"
            content="A sample facebook application"/&gt;
    &lt;/head&gt;
  </code></pre>
  
  <p>How to fix this? Is this because of testing in localhost? How to avoid the confirmation dialog, so that the user has to just click on the Like button once?</p>