I want to check if the user actually shared on facebook the post ( not only clicking on the button ). I've been checking the fb script and couldn't find a solution that will work all the time. Is there another way to check it besides the FB.ui script ?
document.getElementById('shareBtn').onclick = function() {
FB.ui({
display: 'popup',
method: 'share',
href: 'https://developers.facebook.com/docs/',
}, function(response){console.log(response)});
}