这段代码正在分享脸书但是我想要如何检测Facebook分享成功我怎么能用javascript做到这一点
u = location.href;
t = document.title;
var myWindow = window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(u) + '&t=' + encodeURIComponent(t), 'sharer', 'toolbar=0,status=0,width=626,height=436');
return false;
Run Code Online (Sandbox Code Playgroud)