How to associate an existing user account to a FB profile ?

Hi,

I'm using the dev version 3. I found how to create drupal accounts when you FB connect, but I'd like too to associate existing drupal accounts to FB account.

Is this possible ? I get a message when a few the account that I'm not associated with a FB account, but haven't found a way of associating it.

Xavier

I'm working on this at the

I'm working on this at the moment, I'll post my findings.

Either get the user to log

Either get the user to log into your site first and then authorize the application, or use modules/fb/contrib/fb_register.module.

Dave, so you are saying this

Dave, so you are saying this is working?

Existing users can link their Drupal account created years ago to a Facebook account?

That would be awesome.

It works. Maps existing

It works. Maps existing accounts to facebook accounts if either

a) the user is already logged into drupal before they click facebook connect.

or b) the email address learned from facebook exactly matches the email of the drupal account. This applies only when your app requires the email extended permission, otherwise it will not learn any email address.