Like button help

paperdonut

Junior Member
Joined
Dec 13, 2008
Messages
129
Reaction score
19
I would like to give visitors an incentive for clicking the Facebook like button on my website. After the like button is clicked, I would like a button or a video to be revealed. Can someone help me with this? :)
 
1) Use XFBML to show Like button
2) Add callback script to your page
Code:
<script>
FB.Event.subscribe('edge.create', function(href, widget) {
    //here paste code to execute
   //example:
   alert("You like: "+href+" page!");
});
</script>
 
Thanks. I put the code in, but I thing I messed it up :confused:
 
Back
Top