This project has moved and is read-only. For the latest updates, please go here.

Adding the Facebook 'like button' to each post

Apr 21, 2010 at 11:08 PM

How do you add the Facebook "like button" to each post?

Apr 22, 2010 at 8:42 PM

I'm not sure what you are asking for - are you asking for something that posts something to Facebook, or are you looking for internal functionality like Facebook has, where you can show how many people "like" your post? In either case, neither of these are supported by Graffiti right now. The former would just require you to make use of any of the available scripts/plugins on your post view page(s). You could also make a plugin that provides this either as a widget or as a chalk extension (in fact, I may just add that to my Social Networking plugin). The latter would be much more difficult, and would require significant updates to the core code base.

Apr 23, 2010 at 6:09 AM

I think the new like button replaced the old "become a fan" button right?

you could add this to your post view or a plugin/widget would be even better

 <iframe src="$url"
        scrolling="no" frameborder="0"
        style="border:none; width:450px; height:25px"></iframe>

May 17, 2010 at 3:59 AM

I am just about done with an update to my social networking plugin that makes it easy to put this on any page. It has a plugin, a chalk extension and a widget. The plugin and chalk extension are for additional data that can be added (see I'm just having problems identifying what the og:image meta data actually does for the Like button, so I can make sure that's working correctly before I update the source and binary online.

I'm using it on my site right now as a test bed, so you can check it out on any of the articles found here: