Lam,
It's been a while since we've investigated jConnector.. so I just downloaded it again and am doing some testing. I'll give my quick suggestions below, but please feel free to advise me on anything I might be missing as I'm still trying to understand/remember how jConnector worked.
Basic Migration
1) We're going to release an importer at some point which will let you (the admin) import all previous connections from jConnector into JFBConnect. These connections map a user's Facebook account to the account that was created for them in Joomla. If you have the ability to run a SQL query, you'd want to run the line below. This will take care of it all for you. If you can't, or don't want to, let us know, and we can whip something up for you to run:
INSERT INTO jos_jfbconnect_user_map (j_user_id, fb_user_id, created_at, updated_at) SELECT user_id, facebook_id, now(), now() FROM jos_jconnector_ids;
2) Once that's done, then users who've connected on your site using jConnector should be able to log into your site with their Facebook credentials and will be automatically logged into the previously created Joomla account.
Note: You must disable the jConnector module.
Emails
These are a bit trickier. I didn't realize that jConnector just left the user's email blank. That sucks. To fix is easy, but may cause some issues depending on your site and users.
1) Edit the following file: /plugins/authentication/jfbconnectauth.php. At line 71, you'll see the following:
if (!$configModel->getSetting('create_new_users'))Change it to:
if (!$configModel->getSetting('create_new_users') || $jUser->email == "")
This will have the effect of always checking if the user's email address is blank when they're logging in, and if so, update it to the Facebook email address.
Something to look out for..
Finally, the last setting I'd have to mention is that if a user tries to log in via Facebook and already is using their FB email on your site, there can be problems (duplicate emails - as you noted above). For this case, we'd recommend making sure the "Automatically Link Facebook Users by Email:" setting is enabled in the JFBConnect User config area. What this will ultimately do is, when the user logs in through Facebook, it will associate the Facebook account automatically with the Joomla account using the same email. It will, however, leave the 'old' Facebook mapped account (from jConnector with blank email and all) as a derelict entry as from that point on, the user wouldn't be able to log in with that specific account. Hopefully, this won't matter as they'll have their Joomla account now mapped to FB. But, if the user had a lot of activity, articles, forum posts, etc on the 'old jConnector/FB' account, it could be confusing and something for you to be aware of.
Whew. Hopefully this makes your little avatar guys' head not want to explode.. it's getting close. I certainly hope this helps, but if you run into any stumbling blocks, want to discuss what-if's or just have any other general questions, you know where to find us!