Comment using your Facebook profile
Ok, let’s face it – quite a few of the visitors you have on your page most likely already have a Facebook account. Wouldn’t it then be nice to let them be able to comment on your page without needing to register there as well? With this nice little plugin you can. A few steps is required though, but once completed you will make life quite easier for any visitor you have that might want to comment. The good part is that once they have accepted your “application” once, the application will automatically recognize them if they are logged on to Facebook and visiting your page. A notification window will appear in the upper-right of your page, notifying them that they have been recognized. All comments written then will be tied with their name and picture taken from Facebook. So why should you be bothered? People often don’t comment since they don’t want to take the burden on going through more registrations, so make it easy for them.
Installation:
- Download WP-Facebook Connect from WordPress.
- Unpack it and upload it to your /plugins directory – then activate it.
- Then move to the settings tab of your wordpress installation.
- You need to enter application public/secret key.
- Follow the instructions in the settings tab for the plugin.
- Tweak your comments.php file; and add the code below.
- Now test it, you will most likely get nofified about wrong url.
- Edit your “application” settings, and set url to your blog.
- Voila, you are done!
Code adjustments:
You need to add the following piece of code: <?php do_action(‘fbc_display_login_button’) ?> you might also want to do some other adjustments since when the users are logged in from Facebook, it could perhaps look like this: Logged in as . Log out. It doesn’t know the user since the user isn’t really part of your page. So you might want to do some adjustments for that, for instance check the $user_identity variable.
-
Vanessa Lamme






