Facebook Development
< Development
< sfein
Get flash to fully experience Pearltrees
Today, I’m going to explain how to use Woopra Custom Events to track when visitors like something on your website through the Facebook Like Button. First of all, you need to use the XFBML script to add the Facebook Like Buttons on your website. If you use the iFrame method, this method will not work. You can grab the code of your button from Facebook . Now, we need to fire Woopra Custom Event. All you need to do is to insert the following code at the footer of your website:
The Like button is a simple plugin that will let people quickly share content with their friends on Facebook. When someone clicks on a Like button on a site, a connection is created in the Graph between the content and that person: an Open Graph Like action will be published, and stories will appear on that person's timeline and their friends' news feeds. This story will link back to the site and drive distribution of content. The story created by the Like action can be enriched by using meta tags to turn a simple HTML page into an Open Graph object .