Installation

Last updated on
30 April 2025

Requirements

PHP 5.2 or higher versions.
Drupal 6.x.

Facebook Installation

You will need a Facebook API key pair to link your Drupal site to Facebook (FB).

NOTE: If you do not already have a Facebook account, you will first need to create one.

Each website you wish to provide FBConnect for needs its own corresponding FB application setting up.

Visit http://www.facebook.com/developers/

Select 'Set up New Application' button from the top right.

The first step is to assign a meaningful name to your new FB application and agree to the terms of service.

If the name is accepted you will then move on to the 'Basic' settings for your application.

The 'Basic' form will provide you with a unique Application ID, and an API key plus Secret key. The keys look something like '4828b5c45b0bac64b5378b0500b3ab7e'

Complete the rest of the 'Basic' form - adding a description and logo image as required. These will be shown to the user when they click the FBConnect button on your Drupal site.

Click on the "Authentication" tab down the left of the form and set the following values:

Post-Authorise Callback URL: Paste in the following URL http://example.com/sites/all/modules/fbconnect/xd_receiver.html then replace example.com with the address for your Drupal site.

Now select the 'Connect' tab down the left and complete the form as follows:

Connect URL: the full web address to your Drupal site homepage. Such as http://example.com

Connect Logo: Upload a suitably sized version of your Drupal sites logo.

Friend linking access: (if required by your site) Set to requested and explain what its for in the textbox below.

Click the Save Changes button at the bottom of the page and you're FB Application is complete.

Your "My Applications" dashboard will now list your new FB Application. Copy the 'API Key' value (the long line of numbers and letters) to your clipboard.

Drupal Installation

Copy the Drupal fbconnect module to /sites/all/modules/ with in your Drupal 6 installation.

Download the "Facebook PHP Library" from http://svn.facebook.com/svnroot/platform/clients/packages/facebook-platf...

Copy the contents of the downloaded facebook-platform/php/ folder to the /sites/all/modules/fbconnect/facebook-client/ folder.

Visit the modules settings page at /admin/settings/fbconnect and paste your new applications API key and Secret API key in to the corresponding form textfields.

Save Configuration and you site will now allow Facebook users to log in to your Drupal site.

Help improve this page

Page status: Not set

You can: