title: Checking to see if Facebook Event Subscription in Javascript is working
body: <p>The Ajax below is on a file with a Facebook Like button.  The Like button works correctly.  I am trying to use the Ajax below to execute some PHP on a file called fblike.php when the Facebook Like button is clicked.  It's not working.  Is there any way I can check to see if <code>FB.Event.subscribe('edge.create', function(response) {});</code> is actually firing?</p>
  
  <p>Thanks in advance,</p>
  
  <p>John</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script &gt;
  
  FB.Event.subscribe('edge.create', function(response) {
     $.ajax({
     url: "fblike.php", // the url of your php script
     context: document.body,
     success: function(){
        // if you want something to be executed when a result comes back
                        }
           });
  });
  
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  </code></pre>
  
  <p>?></p>
  
  <p>
  </p>