Introducing the FB Share Button WordPress Plugin for Facebook Share

FacebookToday Facebook launched a nifty little tool enabling website owners and bloggers to allow their users to better share and track their content on Facebook.  The new tool provides a piece of HTML and javascript that renders a little “Share” button.  When clicked, the post is tracked by Facebook, the number of shares is shown, and via an API comments, likes, shares, and more can be tracked across all of Facebook for items shared via that button.  Today I’m going to add to that by providing a WordPress plugin.

The FB Share Button WordPress plugin renders the Facebook share button of your choice on your blog.  Via admin settings in WordPress you can choose which Share button you would like to display, where you want to display it, and even provide the language for the link.  The plugin is based on the same Easy Retweet plugin by Sudar which you see on this blog.

To install, just download this link, untar and ungzip into your WordPress plugins directory.  Activate the plugin, adjust your settings to display where you like (or you can manually add it to your template or posts – see the readme), and it will display for every post you write on your blog.  You can even turn it on or off per blog post.

I’m also working to make this FBFoundations compatible so it will load as an optional XFBML tag if you like – expect that in a future revision.  Now WordPress bloggers everywhere have the capability to enable and track Facebook sharing on their blog.  You can download it here:

http://downloads.wordpress.org/plugin/facebook-fb-share-wordpress-plugin.zip

Stay tuned though – in the next revision I’m hoping to add Facebook API support so you can track and read the number of shares, comments, likes across all of Facebook from your WordPress admin.  That will all fit in with the FB Foundations plugin I wrote earlier.

Advertisements

130 thoughts on “Introducing the FB Share Button WordPress Plugin for Facebook Share

  1. Hi Jesse. You have given such a beautiful information.This is new and very useful for the beginners.
    Thanks and keep on sharing your ideas..!!!

    Like

  2. Hi
    I am using your FB share button. Since im using this i can share the conntent of my blogs or sites only. No pictures appears at the opened window of FB. Ive tried this on one of my test sites. There i have no problem. Little bit confused about this. something that i dont know why it is happen like this. the sites are
    http://www.clubberqueen.com —> no pictures showing at share
    http://www.clubberqueen.com/deneme —> Pictures showing at share

    Thank you for your answer

    Best Regards
    Ömer

    Like

  3. Button doesn't show up on search results for me in WP v3.0.3, it works fine for categories, tags, archive. Needed to modify this:

    changed

    || ($options['display-archive'] == “1” && is_archive())

    to
    || ($options['display-archive'] == “1” && (is_archive() OR is_search()))

    Like

  4. Button doesn't show up on search results for me in WP v3.0.3, it works fine for categories, tags, archive. Needed to modify this:

    changed

    || ($options['display-archive'] == “1” && is_archive())

    to
    || ($options['display-archive'] == “1” && (is_archive() OR is_search()))

    Like

  5. I actually answered my own question. The correct way to write in Blogger is, “expr:share_url='data:post.url'”

    So, for the benefit of your readers, the whole thing looks like this:

    a expr:share_url=”data:post.url” name=”fb_share” type=”box_count” rel=”nofollow”

    Be sure to add the less than and greater than symbols.

    Like

  6. The only thing I want is to be able to link it to my facebook 'fan' page and not my profile. but i understand those issues seem to be happening on the facebook end and not with developers. if you can get the fan page to work, i would seriously be YOUR #1 FAN. thx.

    Like

  7. I guess, FB Share was not going along with another plug-in I use for Digg. It is showing only one of them, either FB or Digg. If I activate Digg, then FB doesn't show up. Don't know why. May be it will help you in finding out the issue.
    Thanks again for creating this awesome plug-in.

    Like

  8. Great plugin…
    This is what I was looking for before modifying my template. But somehow it shows on the pages but not on the posts.
    Even if I have enabled it manually. Am I missing something..
    Please help..

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s