Facebook Login

plugin banner

Facebook Login for developers… and everyone else . Simple adds a facebook login button into wp-login.php and let you use fb avatars, period.

Author:Damian Logghe (profile at wordpress.org)
WordPress version required:3.6
WordPress version tested:5.4.1
Plugin version:
Added to WordPress repository:15-06-2015
Last updated:04-06-2020
Rating, %:98
Rated by:47
Plugin URI:http://wordpress.org/plugins/wp-facebook-logi...
Total downloads:211 981
Active installs:8 000+
plugin download
Click to start download

If you just need a facebook login button in your wp-login.php to login/register users, this is your plugin. Lightweight plugin that won’t bloat your site with unnecessary functions. Developer friendly and easy to expand.

To add facebook button on a page use shortcode [fbl_login_button redirect="" hide_if_logged="" size="large" type="continue_with" show_face="true"]

More info about the button on https://developers.facebook.com/docs/facebook-login/web/login-button

If you need to add a facebook login in your template or link a Facebook account to an existing profile use the following code:

`<?php do_action('facebook_login_button');?>```

If you want to show a disconnect button to remove facebook connection from a user profile and avatar use this:

`<?php do_action('facebook_disconnect_button');?>```

If you want to change the redirect url after used is logged in wp-login.php you can pass ?redirect_to= in the url or use the following filter:

`add_filter('flp/redirect_url', function($url){ return site_url('another-url')});``


Once you install the plugin, you need to configure it. Please follow this guide . That guide is for the premium version so be aware that the only shortcode available is [fbl_login_button redirect="" hide_if_logged=""]

Premium Version

Check the new premium version available in (https://timersys.com/plugins/facebook-login-pro/)

  • Powerful Login / Registration AJAX sidebar widget,
  • Also available with a shortcode and php template function
  • Compatible with WooCommerce
  • Easy Digital Downloads checkout pages
  • Compatible with BuddyPress
  • Login widget in Popups
  • Premium support

Available Languages

  • Spanish
  • English
  • Bulgarian
  • Vietnamese
  • Italian
  • Czech
  • Portuguese
  • Danish
  • Russian
  • Ukrainian

Collaborate with translations on Transifex https://www.transifex.com/timersys/facebook-login/dashboard/


Please contribute on https://github.com/timersys/facebook-login