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

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -