Share your posts on Facebook and Retweet them on Twitter with TWITBOOKSHARE – BlogEngine.NET Extension

by Sumant 11. December 2009 17:52

I’ve just completed a small extension for BlogEngine.NET which adds Facebook Sharing and Twitter – Retweeting options to your blog posts.

Here is a snapshot of how it would look -

twitbookshare

Installing this extension is as easy as any other extension in BlogEngine.NET. If this is your first time, here are the steps -

  1. Download the zip containing extension file from this page and extract it your local system.
  2. Upload ‘TwitBookShare.cs’ file to the ‘App_Code\Extensions\’ directory on your blog installation.
  3. Tweak your theme and add following style -

CSS-Code: Stylesheet Code
.fb_share_no_count{display:block!important;visibility:hidden;     }

This style keeps Facebook Share button on the same level as of the Tweet button when a post has not been shared even once.

I could also create this as a user control if someone needs it for embedding into a Theme. I will be adding a few more options to this extension to control the styles. Will update here once its done.

If you happen to use this, please do leave your feedback. :)

Download Extension here - TwitBookShare.zip (1.66 kb)

Share   
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags: ,

BlogEngine.NET | BlogEngine Extensions

© 2008 Sumant Dubey

About this blog

Absolutely technical! The posts are about concepts, tricks, articles and links on technical subjects / problems which are not very obvious to understand / resolve. Purpose is to have this as the first-aid in the time of need.

Disclaimer

The opinions expressed on this website are my own personal opinions and do not represent my employer's view in anyway.