When editing my account (after getting Facebook Connect to work), there is an "Unlink" button I can click to unlink my Facebook account. There are two problems:

1) When I first click on it, "Let my Facebook friends see me on my website" & "Use my Facebook picture as user picture" get unchecked instead of my Facebook account getting unlinked.
2) I have to click it again to get my Facebook account unlinked.

Comments

wolmi’s picture

In my case the unlink button don't work for the admin user (uid = 1). I have to delete the row directly in database

seutje’s picture

After hitting "Unlink" the second time I'm presented with "Error validating access token: User [USERID] has not authorized application [APPID]."

one_orange_cat’s picture

Version: 7.x-2.0-beta3 » 7.x-2.0-beta4

I get the same behaviour as Jay Lee, using beta4. However it might help to note that, alongside unchecking any ticked boxes as already reported, when you unlink just once it appears to actually be logging you out of the associated App - i.e. if I unlink once and then log out, I get the Facebook Connect button linking to the App Login, instead of the "Welcome XXX" Facebook Login button as would remain if I had just logged out without trying to unlink.

one_orange_cat’s picture

Version: 7.x-2.0-beta4 » 7.x-2.x-dev

Ha... can't replicate issue on IE 9, all working correctly there (unlink once does the job)! Issue reliable on latest Chrome and Firefox though.

However, having upgraded to latest dev version, the checkbox settings are no longer lost when unlink is clicked once.

seutje’s picture

I noticed using /user/[userID]/edit/fbconnect?destination=user/logout worked to prevent it from re-linking the accounts instantly.
After logging in, once the user goes back to user/[userID]/edit/fbconnect the accounts would be linked again.