Hi,

I've been trying out both FBConnect and DFF, looks like i'm going with DFF...

However I like the feature in the FBConnect module, where after hitting the connect button for the first time the user is asked to either create a local account or to use an existing local account on drupal... can this be done with DFF Connect?

Comments

Dave Cohen’s picture

Not exactly. Here's what DFF supports...

If you pick the defaults (fb_user.module configuration) then usually a new account is created when someone clicks the connect button. However, if a user is already logged in, then clicks the connect button, the two accounts will be linked. In other words, get the user to log into drupal before clicking connect, and it will do what you want.

If you enable the contrib/fb_register.module, then (if the user gave the same email address to both drupal and facebook) when a user clicks connect, it will do what you want regardless of whether the user is logged in or not. This is facebook's recommended method of avoiding duplicated accounts.

If these do not do the trick, you can configure the fb_user.module to never create new accounts. Instead you can write a custom module to do it. Implementing hook_fb in a way similar to what fb_user does should do it. But that code has to be written. If anyone feels like writing it, please post it here!

Dave Cohen’s picture

Status: Active » Fixed

Let me know if there's still an issue here.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.