Detect player click on "invite" button

I’m using the social service: SocialService to get my players to invite their friends.

Is there an event or function i can call to detect when they have clicked on the “invite” button?

Here is a similar post. Maybe this can explain your question.