Facebook Connect for Drupal 7-Collection of common programming errors
StackOverflow users thought this topic was best posted here, and so I willingly do so.
First of all: the readme.txt of this module is seriously out-dated! It really needs a review concerning the FB updates.
Now, the real problem: I have installed the module, inserted my appID and all that, but when in /admin/config/people/fbconnect I click on ‘appearance’ I get this fatal error:
Fatal error: Call to a member function getUser() on a non-object in /customers/denotenbalkers.be/denotenbalkers.be/httpd.www/sites/all/modules/fbconnect/fbconnect.module on line 421
When I click on ‘app settings’ it shows me the notice: “Ensure that you entered valid api keys.” but those keys ARE valid. Maybe I’m missing something from the readme? Ex.:
5. Enter the Connect URL on Connect settings tab (e.g. copy value from admin/settings/fbconnect field “Connect url”). There is no such thing as a connect settings tab!
6. Add your server to the Server Whitelist on Advanced settings tab on Facebook or disable Session Secret Whitelist Exception. What am I supposed to add here? Because only the url doesn’t work. I suppose an IP-address but I wouldn’t know which one.
I’ve done all the rest, so I’m guessing that that’s the problem.
EDIT / SOLUTION: The problem was that I followed the readme that was on Facebook Connect’s project page. The information in there is OUT-DATED and insufficient. The readme that comes with the module itself is the one you should read!