![]() ![]() Facebook PHP SDK version 4.0.x PHP library from its Github project page.Libraries API module from its Drupal project page.X Autoload module from its Drupal project page.Download and enable the dependencies (required for the 7.x-2.x+ versions of Simple FB Connect):.Note: I would suggest using the 7.x-2.x version which is in Beta at the time of writing the 2.x branch integrates the latest Facebook Connect API Download the Simple FB Connect module from its Drupal project page.First, we need to download our module and related dependencies. Let's work through the steps of integrating the Simple FB Connect module with your Drupal website to allow Facebook user account authentication. Setup Simple FB Connect module for Drupal Facebook login Our first Drupal 8 based tutorial revolves around the installation of Simple FB Connect and helps outline the specific details. The key difference is in the installation process which is dependent on Composer. The process outlined below is for Drupal 7 but is quite similar regarding the Drupal 8 release of Simple FB Connect. I'll discuss alternative modules for Facebook authentication later in this tutorial. In addition, the module supports Drupal 8 and has a full release available. ![]() One of the key reasons I'm using the Simple FB Connect module in this tutorial is that it is well supported with recent updates and rising usage statistics. Support for Simple FB Connect and Drupal 8 Disabling a second verification level means that users can login with their Facebook account instantly and have access to your site. The module works with the Drupal core account settings options of allowing users to create accounts with or without a secondary verification email or acceptance from an administrator account. Their Facebook email address and profile photo will be added to their Drupal user account. The Simple FB Connect module simply allows users to click a login link which syncs their Facebook data (after authentication) with a new Drupal user account. There's no way to pull additional account details from Facebook and add their data to custom user fields in Drupal here. This module has very few configuration options and certainly doesn't integrate as deeply with Facebook and Drupal as some other login-related modules do. The module operates under the premise that all you want to do with it is allow users to login with their Facebook accounts: nothing more, nothing less. To integrate a simple Facebook login and authentication system for Drupal, my choice for this tutorial is the appropriately named Simple FB Connect module. Drupal user authentication with Facebook using Simple FB Connect module Let's work through what I think is the best candidate for setting up a simple Drupal Facebook login: Simple FB Connect module. The Drupal Content Management System (CMS) provides multiple methods to authenticate Drupal users with Facebook accounts through contributed modules. Massive social networks have collapsed quickly in the past (see: MySpace). As unlikely as it is for Facebook to go belly up anytime soon, it is possible. ![]() The negative side of allowing users to login with a third-party account, such as Facebook, is that their login has now become dependent on a third-party. Allowing users to login with their Facebook account is often the first third-party login system website owners or managers wish to integrate with their Drupal websites. ![]() Most internet users have one of these accounts, and, among them, Facebook has the largest user base. Commonly, this is a social media account: Twitter, Google+, Facebook, etc. Make it easy for your Drupal users: login with FacebookĪ common solution to this poor experience in recent years is to suggest the user logs in via an account on a third-party website. The user now has to keep track of another username or email and password combination. If you require a unique login to your website, you're going to discourage some users from using your website. One of the experiences that most irritate users of your website is having to create yet another account just to access your website or key functionality of it. Today, we're going to work through another of the most requested Facebook integration needs: login and connect. There's a lot of demand from Drupal website owners and managers to integrate Facebook with their website platform. Last week's tutorial on Drupal Facebook comments integration lead our blog to traffic records and a mention on TheWeeklyDrop among other places. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |