I have a drupal multisite with multiple subdomains. I am sharing the user tables on the subdomains. I enabled fbconnect across all subdomains using drush. I want to install fbconnect and I am able to do so by going to each subdomain (admin/settings/fbconnect) and enetering Facebook key: , Facebook Secret key: and Base domain url: manually and clicking save configuration. I want to know if there is some way to do this across all subdomains without having to go to admin/settings/fbconnect for each subdomain.

Also, if I share the table fbconnect_users across all subdomains, will it cause any issues ?

Comments

franzkewd’s picture

Hi all. Anyone uses this module for multi-site?
I do have multi-site with single codebase, different content databases, shared user database, and shared sign-on. Fbconnect 6.2.dev.
I tried: a. Use same Facebook App for all domain/subdomain, b. Use different Facebook App for each domain/subdomain, c. Share fbconnect_users table.
I keep getting error that my Username and/or Email has been taken.
Any inputs? Thanks.

vectoroc’s picture

you can't share fbconnect_users table separately from users table. I tested fbconnect and multisites without sharing - it works
yes, and you can use one facebook app but you have to set correct app settings (basedomain url, may be something more as well)

franzkewd’s picture

Version: 6.x-1.0-beta8 » 6.x-2.x-dev

Thanks vectoroc for your prompt response and great module. I tried and double checked everything, including basedomain url setting, still no success on multisite login.

vectoroc’s picture

I need more details. does it works on one domain from two ?

Saoirse1916’s picture

Same problem for a client of mine. They're using separate parked domains pointing to a shared Drupal install and each site has its own database. The FB Connect module works great on the initial site but on others clicking the FB button just pops up a new window for a split second and then it closes without logging the user in. If the user is not currently logged into Facebook they're prompted to login but then nothing happens on the connected site.