× Joomla Facebook Connect support forum

Topic-icon Connect Through FB over writing another user's information

Active Subscriptions:

None
Hi,
I log in to my site using JFBC. After logging in, I change my email in the site itself. Then I log out and when I
log in again through FB, another user's information (profile image and status) is being overwritten with my information.
Please could you tell me what setting I have wrong.
These are my settings
Registration Flow: Normal Registration
Automatically Link Facebook Users by Email: Yes
Email Field on Registration (Normal Registration Only):Show
Skip Joomla User Activation: Yes

Thanks,
Deepa
The topic has been locked.
Support Specialist
Deepa,
There shouldn't be any configuration settings that would cause that. After a user connects their Facebook account with a Joomla user account, we never use the email address again to associate them. So, changing the email address shouldn't affect how the user is treated when they log back in through Facebook later on, even if the email is changed.

Can you tell us if there's any relation between the 2 user accounts (the one that's being incorrectly updated and the one that's signing up)? Also, what profile integration plugins are you using?

Finally, can you check the User Map area of the JFBConnect admin and make sure that the user rows for the user that you're logging in with and the user that's incorrectly being updated are correct? It should show their Joomla user name and a link to their Facebook Profile. It's possible the user who's profile is being incorrectly updated won't be in that list, but the one logging in should definitely be there.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks for your prompt reply Alex. I think it's a bit of the mess. Here are my responses in red,
Can you tell us if there's any relation between the 2 user accounts (the one that's being incorrectly updated and the one that's signing up)? Also, what profile integration plugins are you using?
The one that's been signed up has been in use since the site was set up. The other one has been created last week for testing purposes on the same browser for testing purposes. Other than being created on the same browser, there is no link. And this is not happening to any other account created from the same browser, either before or after this problem has been noticed. I'm not sure what you mean by profile integration plugins. If you are referring to the plugins in JFBC, then it is Virtuemart 2.x and Jomsocial.

Finally, can you check the User Map area of the JFBConnect admin and make sure that the user rows for the user that you're logging in with and the user that's incorrectly being updated are correct? It should show their Joomla user name and a link to their Facebook Profile. It's possible the user who's profile is being incorrectly updated won't be in that list, but the one logging in should definitely be there.
I think we have a problem here, the user who is logging in is not in the user map at all, and the second account (which is being overwritten) is there
in the user map area.


Thanks,
Deepa
The topic has been locked.
Support Specialist
Deepa,
It sounds like you've re-connected the Facebook account to a different user. If you have the "Allow Reconnections" setting enabled in the SCLogin module, then a "Login With Facebook" button will appear if you are logged into Joomla and logged into Facebook with a different account than the one associated with the current Joomla user. If you then click the Login with FB button, your Joomla account will be re-mapped to the 'new' Facebook account.

That sounds like what you've done. You've re-mapped the Joomla account to a different Facebook account. This can happen while testing on the same browser if you connect, logout, and reconnect through Joomla and Facebook a few times because it's easy to loose track of what site you're logged into and with what user.

To fix, you can delete the User Map row for the Facebook account with the issue. Then, if you log into Joomla with the 'right' user, you can use the "Login With Facebook" button to re-connect that account to the proper Facebook account. You may also want to disable the Allow Reconnections in the SCLogin module as well.

There are other ways to re-map accounts, but that's the most common.

Hope that helps,
Alex
The topic has been locked.