By Muslim guy on
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
Comments
FB icon
Adding these to comment.module (Drupal 5.x)
Thanks halkeye (facebook_auth) and drumm (comment core module)