The fb_connect module currently has the baseline support needed to work with Facebook Connect. This makes a number of things possible, but only with a lot of custom code. For example, see

Ultimately, the module should provide a block and/or alter the login form to add this feature without any coding.


Dave Cohen’s picture

Issue tags: +fbConnect
anand4565’s picture

Version: 5.x-2.x-dev » 7.x-3.x-dev
Assigned: Dave Cohen » anand4565
Category: feature » task
Priority: Normal » Major


Please any body help me, I am new in drupal so "I am facing some problem here". I need login to Drupal using Facebook username and password so i am using fbconnect module but it is not working properly in my site ""

There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates.

here module is not active t and and not showing login panel at home page.

Flow by me this steps:-
1. Upload the 'fbconnect' folder into your module directory and activate the module,

2. Upload facebook-php-sdk ( into fbconnect module folder (or into libraries folder,
if you want to use it with the libraries module,

To ensure that you installed correctly check file : /facebook-php-sdk/src/facebook.php must be accessible

-- OR --
Use drush_make script instead of steps 1 and 2:

projects[] = fbconnect
libraries[facebook-php-sdk][download][type] = "get"
libraries[facebook-php-sdk][download][url] = ""
libraries[facebook-php-sdk][destination] = "modules/fbconnect"

3. Create a new facebook application:

4. Enter the Site URL on Web Site settings tab (e.g. copy value from admin/settings/fbconnect field “Connect url”).

5. Configure the module through admin interface (admin/settings/fbconnect) using the information provided by Facebook
(Application ID, Application Secret).

6. In order for the user's browser to correctly recognize XFBML tags, you need to specify that the page is in XHTML.
Edit the "page.tpl.php" file of your current theme. edit the tag and add the facebook xmlns for rendering XFBML.

Example : xmlns="" xml:lang=" print $language->language "
lang=" print $language->language " dir=" print $language->dir ">

Note: The xmlns:fb attribute (xmlns:fb="") is required for proper rendering on IE.
(Namespaces don't have to point to a valid page, they just need to be a valid Internationalized Resource Identifier (IRI).

7. Also make sure that your page.tpl.php contains print $closure

-- FAQ --

Q: How to skip linking local account to FB account?
A: Enable "Disable linking accounts during registration" checkbox on admin/settings/fbconnect/apperance page

Q: Why the connect button does not appear?
Q: Facebook Connect dialog says: "Invalid Argument: Given URL is not allowed by the Application configuration".
A: Check 5th step of installation instructions. Check for error messages on page admin/reports/status.

Q: Fbconnect redirects to the Facebook homepage in popup
Q: I'm getting error "Application Unavailable - The application you are trying to access is unavailable or restricted"
A: Try to disable all other facebook* modules. If you're using fb_social you have to enable fbconnect_fb_social.

Q: Cannot login to drupal site after sucessully logged in to facebook.
A: Check your Application Secret on admin/settings/fbconnect page.

Q: Fbconnect Causes W3C XHTML Validation To Fail

Still did not solve problem ? Disable other facebook* related modules, check admin/reports/status page, php logs,
post issue on

Thanks in advance.
Anand Sah