"I read the README.txt from start to finish,"

It apears that i am having issues getting the theme to become facebook aware
I am new to drupal
the site is zolfit.com

Fatal error: Call to undefined method Facebook::getSession() in /home/content/16/7824116/html/sites/all/modules/fb/fb.module on line 191

Comments

Patrick D. Hynes’s picture

This module is not compatible with the new version 3.0.0 of the Facebook PHP SDK. You need to use an older version to get it to work (https://github.com/facebook/php-sdk/zipball/v2.1.2) until the module is made to be compatible with the new SDK. Any ideas on when this may be?

Dave Cohen’s picture

You may have modules confused. Are you sure you're talking about modules/fb, a.k.a Drupal for Facebook?

Dave Cohen’s picture

stieglitz’s picture

confirmed as well.

catarinavclemente’s picture

I had the exactly same error.

NickLitten’s picture

same error here and *downgrading* to the older FB library worked. Thanks.

umesh sharma’s picture

I also had the same error. please check
$session = $facebook->getSession();

$session = $facebook->getUser();

vinayras’s picture

Thank you Umesh for suggesting this.

This problem arises if you are using the latest Facebook PHP SDK 3.1.x

We have changed
$session = $facebook->getSession();

to
$session = $facebook->getUser();

And it seems to be working fine.