php - Perform function after Facebook share -


i wonder if there way confirm user has shared post website, i'm trying have email sent out user after share post. emails collected site, not facebook api. need know if there way call confirmation on sharing system.

<a href="#"    onclick="     window.open(       'https://www.facebook.com/sharer/sharer.php?u='+encodeuricomponent(location.href),        'facebook-share-dialog',        'width=626,height=436');      return false;">   share on facebook </a> 

just add new "myfunction(); after first one.

onclick="window.open();myfunction();" 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -