Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How can I unlink Facebook Login from one account and use it in another?

+2 votes
1,923 views
asked Jan 3, 2012 in Plugins by atrandafir
Hi,

After I've setup my installation of Q2A I've got myself an admin user named 'atrandafir'. Then, I have installed Facebook Login Plugin and I've gave it a try. So now I've got another user for myself that logs in using Facebook.

I just want to use one user, not both, but the first one does not have Facebook Login, and the second one has it but it is not an admin.

Is there a way I can unlink Facebook Login from one user and link it to another?

Thanks.
Q2A version: 1.4.3

1 Answer

+1 vote
answered Jan 4, 2012 by gidgreen
selected Jan 4, 2012 by atrandafir
 
Best answer

You can hack this in the qa_userlogins table - just change the userid for the row which matches your Facebook user ID.

commented Feb 6, 2012 by gidgreen
If you're integrated with WP logins, it's not a Q2A issue, so you need to check into whatever system WP is using to connect with Facebook IDs.
commented Feb 18, 2012 by gooshbob
Thanks gidgreen.  Yes, I ended up getting rid of the facebook login through q2a and integrating with one of the WP facebook plugins.  That seemed like a good solution for me.  I have doubts about whether using the WP login is better though since Q2A makes it easy to register, but I guess it's what we're doing at the moment.
...