Call to a member function getLoginUrl() on a non-object in fbconnect.pages.inc on line 230 I'm using the Facebook connect module to give the users the possibility to log in in my website with their Facebook account. The configuration of the module is good, but when I click on "Log in to NameSite with Facebook account" I get this error message:


  Fatal error: Call to a member function getLoginUrl() on a non-object in fbconnect.pages.inc on line 230


I am using Drupal 7.
You need to set up the app with Facebook. The current link for doing so is https://developers.facebook.com/apps.

See http://drupal.org/node/1944522.