Quantcast
Channel: Eureka! » Facebook PHP SDK
Viewing all articles
Browse latest Browse all 3

Drupal 7 – Allow Facebook login using Facebook Connect

$
0
0

The website i am working now needs to have Facebook Login. I found 3 modules which could implement that feature.

 

Facebook Connect requires the Facebook PHP SDK and the configuration is quite user friendly and this is also the module which i used.

Facebook OAuth provides an API for authentication and does not need the Facebook PHP SDK. It fits for Drupal developesr who wants higher level of customization.

Drupal for Facebook seems to target Facebook application development. I didn’t tried it.

So let’s take a look on how to implement the Facbook Login feature with Facebook Connect.

1. Download and extract the Facebook PHP SDK @ sites/all/libraries.

  • sites/all/libraries/facebook-php-sdk/src/base_facebook.php
  • sites/all/libraries/facebook-php-sdk/src/facebook.php
  • sites/all/libraries/facebook-php-sdk/src/fb_ca_chain_bundle.crt

 

2. Download and enable the module.
 

3. Enter the Facebook Application ID, the Application Secret as well as the Connect url @ admin/config/people/fbconnect.
 

4. Also set the urls @ admin/config/people/fbconnect/fb-app.
 

Now you could find the Facebook Login button on the login page and the Drupal login block.

Done =)

Reference: Drupal module – Facebook Connect


Filed under: CMS Tagged: Drupal, Drupal 7, Drupal for Facebook, Facebook Connect, Facebook OAuth, Facebook PHP SDK

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images