Plugin Directory

WP-FacebookConnect

  1. Copy the plugin to wp-content/plugins/wp-fbconnect under the Wordpress installation.
    1. In the Wordpress Admin panel, visit the plugins page and Activate the plugin.
    2. Visit the settings page and select "Facebook Connect". Follow the given instructions to configure the plugin and obtain a Facebook API key.

A minimal amount of theme integration is necessary. Open the 'comment.php' file in the theme and add the following line where the Connect login button should be inserted:

  <?php do_action('fbc_display_login_button') ?> 

The reason for calling fbccommentlogin via doaction instead of directly is to avoid spewing errors if the plugin is disabled. It would be equally correct to directly call fbccomment_login() here.

As a simple example, the comments.php file on my blog looks like:

<?php if ( $user_ID ) : ?>  

... ....

`

Note that the fbccommentlogin function should be called regardless of whether the user is currently logged into WP or not. It will DTRT.

See config.php and the Settings page for more configuration and customization options.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (4 reporting)

75%
0,1,0
50,2,1
75,4,3
100,1,1

Average Rating

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