WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Facebook Tools

Easily integrate Facebook social plugins to your WordPress blog/site with simple template functions.

Easily integrate Facebook social plugins to your WordPress blog/site with simple template functions. See below for full list of features, and how to use the plugin.

Features

  • Auto Insertion of OpenGraph tags
  • Like Button
  • Send Button
  • Comments Box
  • Retrieve Facebook Comments

More Information

For more information, please read the Facebook documentations at http://developers.facebook.com/docs/plugins/

Like Button

Display the Facebook Like button on any page.

Note: The Open Graph description tag will default to the site's Tagline if their is no excerpt.

To use, add <?php fb_likebutton(); ?> within the Loop.

Parameters

  • $href (string) Defaults to the current post/page's permalink if not set
  • $layout (string) Choices: 'standard', 'button_count', 'box_count'
  • $width (integer) Width of the like button (in pixels)
  • $colorscheme (string) Choices: 'light', 'dark'
  • $action (string) Choices: 'like', 'recommend'
  • $send (boolean) Include the send button?

Send Button

Display the Facebook Send button on any page.

Note: The Open Graph description tag will default to the site's Tagline if their is no excerpt.

To use, add <?php fb_sendbutton(); ?> within the Loop.

Parameters

  • $href (string) Defaults to the current post/page's permalink if not set
  • $font (string) Choices: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'
  • $colorscheme (string) Choices: 'light', 'dark'
  • $ref (string) A label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +/=-.:_).

Comments

Display the Facebook comment box for the current page/post. To retrieve the comment count, please see Comment Count.

To use, add <?php fb_comments(); ?> within the Loop.

Parameters

  • $xid (string) A unique identifier for the current object
  • $width (integer) Width of the comment box (in pixels)
  • $numposts (integer) Number of posts to display
  • $migrated (boolean) True to display the new comment box, false to display the old comment box
  • $reverse (boolean) Reverse the comments order (legacy only)
  • $css (string) Location of the custom CSS for the comment box (legacy only)

Comment Count

Display the comment count for the current page/post.

To use, add <?php fb_commentcount(); ?> within the Loop.

Parameters

  • $xid (string) A unique identifier for the current object
  • $return (boolean) Return the raw count number (Default: false)

Get Comments

Retrieve all comments in a standard PHP object

To use, add <?php fb_get_comments(); ?> within the Loop.

Parameters

  • $xid (string) A unique identifier for the current object
  • $migrated (boolean) True to fetch results from the new comment box object, false to fetch from the legacy comment box

Requires: 3.0.2 or higher
Compatible up to: 3.2.1
Last Updated: 2011-4-29
Downloads: 14,511

Ratings

3 stars
3.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,4,4 0,1,0 100,1,1
0,1,0
0,1,0
100,2,2