Closed (fixed)
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2011 at 09:15 UTC
Updated:
8 Feb 2012 at 15:43 UTC
I read the README.txt from start to finish, but I'm having a problem.
When going to my page at Facebook, I get the following error:
Fatal error: Call to undefined method Facebook::getSession() in [ROOT OF MY SERVER]/web/sites/all/modules/fb/fb.module on line 193
Can anyone help me clearing this out?
| Comment | File | Size | Author |
|---|---|---|---|
| fb_error.png | 223.46 KB | Toeterniettoe |
Comments
Comment #1
dustyfox commentedI think the module still uses the version 2 SDK and that you've downloaded version 3. Go to http://github.com/facebook/php-sdk and select Switch Tags, then download and install the latest version 2 SDK in your Facebook for Drupal folder. If that doesn't help then go to you application settings (in FB), click on Advanced and deactivate "Remove Deprecated Auth Methods" that might help.
Personally I think this is a difficult module to use but I love it's potential.
good luck
Comment #2
Toeterniettoe commentedThx,
it seems to work now :)
Comment #3
kifuzzy commentedsign to find it later (sorry) and thanks for this post, it helps! me.
Comment #4
barsand commentedI'm getting the same after upgrading to 3.11. I've downgraded to 3.1o but still getting the same error message.
Fatal error: Call to undefined method Facebook::getSession() in /home/content/98/8186398/html/sites/all/modules/fb/fb.module on line 194
Comment #5
vinoth.3v commentedthis same error happening on drupal 6.x-3.2-rc3 too
I am using FB SDK 3.1.1.
Sorry for not opening separate issue.