Facebook code used in Huffington Post
-
I like the call-to-action button that HuffPo uses on its FB button, where with one click, a user on their site can 'Like' their main page on Facebook without actually having to go there (assuming that they're logged in, of course). I'd love to use it on my site but...
I'm trying to understand how this works. It seems like it's a custom wrapper, as i'm not seeing the toolset in dev tools (http://developers.facebook.com/docs/reference/plugins/like/ etc)
Anyone know about this?
-
Hi there,
I'm afraid I'm not 100% sure what you're looking to do but at a guess - you want to know how to add the Facebook 'like' button so people can become fans without leaving the site or visiting your page on Facebook?
There's at least two different plug-ins they're using to achieve this - the first is a simple 'like button' taken from the page you've linked too. Just use the wizard to create the code and insert into your page where you'd like it to appear.
The other method appears to be the box that pops up when you hover over the Facebook icon in the 'HUFFPOST SOCIAL NEWS' section. In this case they're using the following Facebook plugin
http://developers.facebook.com/docs/reference/plugins/like-box/
If you're looking for the exact same look and functionality just uncheck 'show stream'.
I hope that helps!
-
Hmmmm okay I'll try that and send it to the programmer. Thanks!