Hello!
We were using Drupal for Facebook 3.0, Facebook style-status 3.0 and FBSS to Facebook 3.x-dev and everything was working. But facebook changed something in their code and we upgraded Drupal fo Facebook to 3.1 version.
After that posting statuses to facebook had stop to work and we get Facebook::getSession error
Call to undefined method Facebook::getSession() in modules/fbss2fb/fbss2fb.module on line 131
Any suggestion?
Thank you!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fbss2fb-session-fix.patch | 432 bytes | pdumais42 |
Comments
Comment #1
pdumais42 commentedI had the same problem. getSession is not available in the Facebook PHP SDK v3.0. Here is the tech note: http://developers.facebook.com/blog/post/503/
I patched my copy of fbss2fb.module and it works for me again.
I will attach the patch file to this post. You can apply this patch with this command: patch -p0 < fbss2fb-session-fix.patch
If you want to edit by hand, here are the changes ...
Comment #2
brentratliff commentedpdumais42,
Thanks for the patch. Looks strait forward. I'm applying and testing. If anyone else can verify it, I'll go ahead and commit it.
Comment #3
shellbot commentedPatch worked brilliantly for me, much appreciated!
Comment #4
brentratliff commentedOk, I'll commit it shortly. Thanks.
Comment #5
brentratliff commentedTested and commited patch:
I'm releasing beta1 as a recommended release.
Comment #6
brentratliff commentedClosing