Advertise
Drop Me an Entrecard
Top Entrecard Droppers
Categories / Archives
Top Level Web Directory Categories
Subscribe
Add to Google Reader or Homepage Subscribe in NewsGator Online
Add to My AOL Add to netvibes Subscribe in Bloglines

  • Posted the Entrecards, The Dropper How To (http://tinyurl.com/6hmg5o) another great How To from Lobo Links
  • Congrats to Entrecard for their latest creation Entrebar http://tinyurl.com/5pygbw. Now if they could only cure that bounce rate problem.
  • Auto Industry reports truck and suv sales decline according to the WSJ. Gas in MS is 3.45'ish a gallon. http://tinyurl.com/5np6gf
  • Published a new post: Bounce Rate, Part of the Google Quality Metric? ( http://tinyurl.com/6napz8 )
  • Published a new post: Top Entrecard Droppers for July 2008 ( http://tinyurl.com/54pzw6 )

Adding Facebook to Sociable 2.0 For Wordpress

December 23rd, 2007 by Mack

facebook-logo After posting the instructions for adding mixx to sociable 2.0., Matthew Peters from Pandemic Blog requested the needed code for facebook.  I honestly don't use facebook much as I just hate pictures, but in due time I will get into it.  Anyway, here are the images and manual edits needed for adding facebook to sociable 2.0 for Wordpress.


The Icon

This icon needs to be uploaded to wp-content/plugins/sociable/images to work properly.

facebook

 

You can right click and save image as.

The Manual Edits for Sociable.php

Open wp-content/plugins/sociable/sociable.php

Find

PHP:
  1. 'DZone' => Array(
  2.         'favicon' => 'dzone.png',
  3.         'url' => 'http://www.dzone.com/links/add.html?url=PERMALINK&title=TITLE',
  4.         'description' => 'description',
  5.     ),

Below on a new line add this

PHP:
  1. 'Facebook' => Array(
  2.         'favicon' => 'facebook.png',
  3.         'url' => 'http://www.facebook.com/share.php?u=PERMALINK',
  4.     ),

Upload sociable.php and you should be done.

Don't forget to activate it in WP-Admin.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • StumbleUpon
  • Sphinn
  • Mixx
  • Reddit
  • Technorati

Related Post

6 Responses

  1. By Matthew Peters on Dec 24, 2007 | Reply

    Wow....thanks so much.

  2. By Mack on Dec 24, 2007 | Reply

    Glad I could help out Matthew, enjoy.

  3. By Matthew Peters on Dec 24, 2007 | Reply

    Just installed it and it looks/works great. Thanks for the Christmas gift! :-)

  4. By Mike Huang on Dec 25, 2007 | Reply

    Thanks for coding this for us :)

    -Mike

  5. By Mack on Dec 27, 2007 | Reply

    Anytime, let me know if you need anything else.

  6. By Mike Huang on Dec 27, 2007 | Reply

    Wow! This is my read of the day :) Great blog you got running here!

    -Mike

Leave a Reply