Linked Facebook account with multiple users in analysis

In my application I am using syntax services to connect users to Facebook. When a user tries to connect to a facebook account that is already associated with another user in the app, an error is presented and the user is not allowed to connect. Since I am using anonymous users in my application, this is a particular problem if the user uninstalls the application and reinstalls as their old account still exists in the database associated with their facebook account, but now they have a new anonymous user account and cannot link new account with facebook.

What's the best way to solve this problem? If I am not mistaken, there is no way to tell when a user is deleting your application, so I cannot delete the old user from the database when I uninstall the application. I need a way to either log out of the old user or log in as a new user when the new user tries to connect to facebook, or allow multiple users to connect to the same facebook account. Or am I suppose to merge the new anonymous user account into the old one linked to Facebook.

Anyway, does anyone have such a problem and find a good solution?

+3
ios objective-c parse.com


source to share


No one has answered this question yet

Check out similar questions:

545
IOS app with broken infrastructure on device, dyld: library not loaded, Xcode 6 Beta
390
Design for Facebook authentication in an iOS app that also accesses a secure web service
five
Parse.com PFUser Linking Twitter and Facebook Accounts?
five
Parse.com Is it possible to login with facebook by checking if the user's facebook email exists on the user's parse and if it links both?
3
Check if Facebook account is linked to PFUser
2
Linking email to existing facebook user in Parse
1
Linking / Combining Facebook Users and PFUser (Parse) in Swift
0
Delete user Parse Facebook authData
0
Parse Facebook Login: How to connect current user to Facebook?
0
Link existing PFUser Facebook and Twitter with Parse on iOS



All Articles
Loading...
X
Show
Funny
Dev
Pics