title: Check if user shared on Facebook
body: <p>I'm looking for a way to check if people shared on Facebook. After they have shared, they will be redirected to another page.</p>
  
  <p>So far, I've found the code below. It will present the user with a like page. When they click it, they can share something too. The problem is that edge.create will get a postive response BEFORE something is shared. So it only checks for the like, not for the share..</p>
  
  <p>Is there a way to check if the user has shared?</p>
  
  <p>Thank you!</p>
  
  <pre><code>    &lt;html&gt;
  
  &lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;
    window.fbAsyncInit = function() {
      FB.init({
        appId      : 'ID', // App ID
        status     : true, // check login status
        cookie     : true, // enable cookies to allow the server to access the session
        xfbml      : true  // parse XFBML
      });
  
      FB.Event.subscribe('edge.create',
     function(response) {
          window.open ('page.html,'_self',false)    
     }
  ); 
    };
  
    (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;fb:like href="http://www.youtube.com/watch?v=WJTXDCh2YiA" 
       send="true" width="450" show_faces="false"
       &gt;
  &lt;/fb:like&gt;
  &lt;/html&gt;
  </code></pre>