Plugin Directory

Facebook Fan box

Author: Marcos Esperon

If you have a page in Facebook about your blog and want to show the Facebook Fan Box with the recent updates and fans, just activate this widget or insert this line of code anywhere in your theme:

<?php facebook_fan_box('API_KEY', 'PROFILE_ID'); ?>

If you want to change updates visibility, max. number of fans, width or css properties, just do this:

<?php facebook_fan_box('API_KEY', 'PROFILE_ID', 'STREAM', 'CONNECTIONS', 'WIDTH', 'CSS', 'IFRAME'); ?>

Where:

  • STREAM: Set to 1 to display stream stories in the Fan Box or 0 to hide stream stories. (Default value is 1.)

  • CONNECTIONS: The number of fans to display in the Fan Box. Specifying 0 hides the list of fans in the Fan Box. You cannot display more than 100 fans. (Default value is 10 connections.)

  • WIDTH: The width of the Fan Box in pixels. The Fan Box must be at least 200 pixels wide at minimum. (Default value is 300 pixels.)

  • CSS: The URL to your own style sheet (more info: http://wiki.developers.facebook.com/index.php/Fb:fan).

  • IFRAME: If you are unable to use JavaScript method for some reason, you can use add a Fan Box using an HTML iframe tag (Default value is 0).

Tags: ,

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data
100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5 ratings)