Social sharing issues

hello guys
in my app I give user points after Publish my app in social media
so how can i know if he Publish or not to give him points .
Look at this function>>>>>>>

PublishApp(){

this.socialSharing.share(anyMessage).then((data)=> {
        
    
 }
)

}

thanks