Hi,
This is the process I've followed to install 6.x-3.x-dev version.
1.Uploaded and unpacked module
2.Uploaded and unpacked libraries found here: http://github.com/facebook/php-sdk/downloads (in specific version facebook-php-sdk-v2.1.1-0-g08909f3.zip) in fb folder
3.Enabled all core modules of drupal for facebook
I believe these are the instructions as found here: http://drupal.org/node/205476
No I get the following error:
warning: include(facebook-platform/php/facebook.php) [function.include]: failed to open stream: No such file or directory in /home/mysite/sites/all/modules/fb/fb.module on line 158.
warning: include(facebook-platform/php/facebook.php) [function.include]: failed to open stream: No such file or directory in /home/mysite/sites/all/modules/fb/fb.module on line 158.
warning: include() [function.include]: Failed opening 'facebook-platform/php/facebook.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /mysite/sites/all/modules/fb/fb.module on line 158.
Failed to find the Facebook client libraries at facebook-platform/php/facebook.php. Read the README.txt and follow the instructions carefully.
Can you please advice?
Comments
Comment #1
nikolaic CreditAttribution: nikolaic commentedHi There;
I just had the same exact problem!! Make sure you upload the entire facebook-platform into the FB directory;
and i also added this:
$conf['fb_api_file'] = 'sites/all/modules/fb/facebook-platform/php/facebook.php';
to my settings.php file
Good Luck!
Comment #2
sp_key CreditAttribution: sp_key commentedHi,
Apologies, my wrong I actually did edit my settings php file with the following line:
require_once "sites/all/modules/fb/fb_settings.inc";
I just forgot to mention it. I did this just before enabling the modules.
I also changed ini_set('arg_separator.output', '&'); to ini_set('arg_separator.output', '&');
So my problem still remains.
One thing though.
What do you mean "the entire facebook-platform"? Isn't this 1 file from here: http://github.com/facebook/php-sdk/downloads
Many thanks
Comment #3
sp_key CreditAttribution: sp_key commentedOk,
I've found the problem.
Apparently the installation instructions found here: http://drupal.org/node/205476 are not right for 3.X branch.
If you want to install the 3.X branch of drupal for facebook make sure you follow the instructions found at the Readme file instead