标题: Dynamic Facebook Like Button for Blogger [打印本页] 作者: miniram 时间: 2012-2-6 08:49 PM 标题: Dynamic Facebook Like Button for Blogger How to add Facebook like button on your blog post:
1. Use the configurator to customize your favorite Facebook like button. Go here to configure your code.
2. Copy the code above. Login to your Blogger Account and go to Design > Edit HTML and click on the check box which says “Expand Widget Templates”.
3. Look for <data:post.body/> and place the copied code below or above of it.
*Above - if you want the Facebook like button appear before the post.
*Below - if you want the Facebook like button appear after the post.
4.Next you have to add the fb namespace to your template tag.Your template should have the specification for the fb tag that you have used. The following namespace declaration will take care of that. To declare the namespace, find <html on the top of the template code.