title: Check if user posted (or cancelled) sharing to Facebook in Share Dialog using FB.ui
body: <p>I'm using a share dialog and I want something to occur after the user posts something to his/her timeline. Right now I'm using: </p>
  
  <pre><code>function shareToFB(myName, myLink) {
      $('.overlay-bg').hide();
      FB.ui({
          method: 'share',
          href: myLink,
          name: myName
      }, function(response) {
          if (response &amp;&amp; !response.error_code) {
              alert("Something");
          } else {
              alert("Error");
          }
      }
      );
  }
  </code></pre>
  
  <p>But this causes "Something" to show up even when the user cancels posting. Is there any way I can find if the user has posted the message to his/her timeline without requiring any permissions. I won't mind if this requires me to use a different method of sharing (like a feed dialog).</p>