Commenting with Facebook account
Muslim guy - December 30, 2008 - 15:43
This works if you have facebook_auth installed and you already have a `Facebook apps' for logging to your site
if (variable_get('user_register', 1)) {
// Users can register themselves.
return t('<a href="@login">Login</a> or <a href="@fblogin">Facebook ID</a> or <a href="@register">register</a> to post comments', array('@login' => url('user/login', $destination),'@fblogin' => url('facebook', $destination), '@register' => url('user/register', $destination)));
}Demo:
http://fbookguide.com/node/176#comment-form
Ps: how to add the FB icon

FB icon
if (variable_get('user_register', 1)) {// Users can register themselves.
return t('<a href="@login">Login</a> or <a href="@fblogin"><img src="http://static.ak.facebook.com/images/devsite/facebook_login.gif"> Facebook ID</a> or <a href="@register">register</a> to post comments', array('@login' => url('user/login', $destination),'@fblogin' => url('facebook', $destination), '@register' => url('user/register', $destination)));
}
Adding these to comment.module (Drupal 5.x)
Thanks halkeye (facebook_auth) and drumm (comment core module)