Share on Facebook / Twitter and confirm it is shared

I need to create a Share on Facebook / Twitter button. So when the user clicks on that button and ends sharing, I get the event in javascript.

In fact, the user is rewarded with something when they share my site on Facebook / Twitter. So I need this event to be fired.

Not when the user clicks the button, but when this resource is posted to Facebook / Twitter successfully.

Any ideas?

+3


source to share


1 answer


What you want to do is banned on Facebook. You cannot reward a user for an exchange: https://developers.facebook.com/policy

see section 4.5:



Just encourage the person to register in your application, for example, on your applications page, enter an ad campaign on the applications page or register in place. Dont stimulate other actions.

This is also a very bad practice in general, users should love or share something because they want it, not because they will get something for it.

+3


source







All Articles