I am using parse.com
as backend of my application, it enables the user to login through his facebook or twitter account. Also it has the feature to link twitter/facebook to his pre-existing account.
Here is the problem:
If a user logins through his facebook
account a new PFUser
is created on the cloud.
If the same user again logins through his twitter
account another PFUser
is created on the cloud.
Now if the user wants to link his facebook
account with his twitter
account, parse.com
replies with "this twitter account is already connected to another user."
How can I merge two PFUsers
here? Can anybody please suggest me an approach to solve this issue?