The Facebook Connect service allows for a one-click sign on to a Drupal site using the login credentials of the user's Facebook account. In this chapter, we will see how to use the Facebook OAuth module to enable the Facebook Connect authentication service on a Drupal site.
To complete this recipe you will need to have an active Facebook account, and to be logged in. You will also need to install and enable the following module:
We will start by creating a new Facebook application which will be used to provide the authentication for the domain. We will then configure the Facebook OAuth module with the authentication details provided by the Facebook app. Finally, we will configure the Facebook login module and position it in the header.
1. Go to the following Facebook URL: https://developers.facebook.com/apps/.
2. Select +Create New App.
3. In the Create New App popup enter your App Display Name this...