Closed (duplicate)
Project:
Facebook Connect
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
24 Sep 2011 at 20:58 UTC
Updated:
27 Sep 2012 at 03:08 UTC
I installed fbconnect with subfolder facebook-php-sdk.
When I filled "Application ID" and "Application Secret" and saved, it gave me an error that broke down my site!
It showing:
Fatal error: Call to undefined method Facebook::getSession() in /home/colic/licitacaoecontratacao.net.br/sites/all/modules/fbconnect/fbconnect.module on line 378
How can I solve this?
PS.: Module fb_social is installed.
Comments
Comment #1
HS commented#1024330: Incompatibility with Facebook Social (fb_social)
Comment #2
umesh sharma commentedfile name "facebook-php-sdk" to rename "php-sdk" in fbconnect module .
facebook-php-sdk-v3.1.1-12-gdafef11.zip
Comment #3
umesh sharma commentedRename file "facebook-php-sdk" to php-sdk
Comment #4
deanflory commentedI had the same error then went back to this site and downloaded v2.1.1 and my Status Report no longer throws up an error:
https://github.com/facebook/php-sdk/tree/v2.1.1
Comment #5
alexmoreno commentedthanks, worked fine :-)
Comment #6
alexmoreno commentedno sorry, didn't work. The module search the code in facebook-php-sdk. If it doesnt appear here it doesn't throw any errors... but because the app is not installed
Comment #7
miccelito commentedFacebook Connect 6.x-2.0-beta1 doesn't work. Use the dev version instead, which will work with uptodate facebook-php-sdk
Comment #8
vmevada102 commentedThank you very much,
works for me completely