title: Getting FB.Event.subscribe implemented satisfactorily
body: <p>I have been trying to make <code>FB.Event.subscribe</code> work, but nothing seems to work. Hopefully someone can help me out.</p>
  
  <p>I'm currently using the following:</p>
  
  <p>Html tag</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US" xmlns:fb="http://ogp.me/ns/fb#"&gt;
  </code></pre>
  
  <p>After the body tag</p>
  
  <pre><code>&lt;body&gt;
  &lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;
  (function(d, s, id) 
  {  
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id))
          return;
      js = d.createElement(s);
      js.id = id;  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&amp;appId=153991331310442";     
  
      fjs.parentNode.insertBefore(js, fjs);
  }
  (document, 'script', 'facebook-jssdk'));
  FB.Event.subscribe('edge.create', function(response) { 
      alert('You liked the URL: ' + response);
  });
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>FB:Like</strong></p>
  
  <pre><code>&lt;div id="gateway"&gt;&lt;fb:like href="http://www.example.com/" send="true" width="450" show_faces="false"&gt;&lt;/fb:like&gt;
  </code></pre>
  
  <p>Is the <code>FB.Event.subscribe</code> supposed to be placed in another area? I tried after the <code>Fb:Like</code> code, I tried it as an <code>onclick</code> event, but don't seem to get it to work.</p>