O'Reilly logo

Drupal 7 Cookbook by Dylan James

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating with Facebook

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.

Getting ready

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:

How to do it...

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required