To install:
-- Make sure you have a PHP client from facebook (version < 3.0.0).
- The 3.0.0 or higher versions are not supported by this version of Drupal for Facebook.
+- Make sure you have a PHP client from facebook (version >= 3.1.1).
+ The 2.x.y versions are not supported by this version of Drupal for Facebook.
Download from http://github.com/facebook/php-sdk.
Extract the files, and place them in sites/all/libraries/facebook-php-sdk.
another recognised location (such as sites/all/libraries), providing that the
directory is named 'facebook-php-sdk'.
- Or, to manually set the location of the php-sdk in any other directory, edit
- your settings.php to include a line similar to this (add to the section where
- the $conf variable is defined, or the very end of settings.php. And
- customize the path as needed.):
+ Or, to manually set the location of the php-sdk in any other
+ directory, edit your settings.php to include a line similar to the
+ one below. Add to the section where the $conf variable is defined,
+ or the very end of settings.php. And customize the path as needed.
$conf['fb_api_file'] = 'sites/all/libraries/facebook-php-sdk/src/facebook.php';