Example: The example below illustrates callback function that pops
function myCallbackFunction (event,service)
alert("event called is:"+event); //the event type. Only "click" is supported.
alert("service called is:"+service); //the service shared by user. e.g. facebook
stLight.subscribe("click",myCallbackFunction); //register the callback function with sharethis
The function you define will take 2 arguments: 1) the event type (only click is supported presently) and 2) the service on which the user shared.