-1

I have a custom plugin in wordpress which will take a contest answer and visitor name and email in a form.I want to share my page on facebook before visitor submit the form. if the visitor doesnt share my page his form will not be submitted.How can I track that visitor share my page and let the system submit the form after page sharing i completed. I got a script from facebook send where i can put my page url for sharing.

<a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fparse.com" target="_blank">

Share on Facebook

henrywright
  • 10,070
  • 23
  • 89
  • 150
Avijit Das
  • 300
  • 1
  • 5
  • 20

1 Answers1

0

I've used this jQuery plugin before. It gives you a callback for like and unlike. You'd just have to disable the submit button until the user likes and then disable it if they unlike it.

There are also versions for Google+ +1 and Twitter shares as well.

mdelorey
  • 136
  • 3