Hi, I am making a game with user challenges.
I don't want to force users to have a facebook account, so I am using UserService and BuddyService. These work just fine, but I am having difficulties figuring out how I can offer facebook login on top of that. Here are the issues that I see:
- with UserService, I am enforcing unique usernames for my players, which is good for leaderboards and buddies. But if people decide to user facebook login, I don't have a unique "understandable" username to display in leaderboards. I can add that info somewhere with StorageService, maybe...
- if a user creates an account with UserService, and later wants to connect with facebook, then he will both appear in the facebook linked accounts and user service. Isn't that cumbersome?
So I guess my question is, are there best practices to support both facebook and non facebook users (and potentially non facebook users that decide eventually to associate their facebook account to retrieve friends) ? This is a tricky subject and I believe it would help a lot of people to have a blog post or whitepaper about how to best use your services to solve this.
As an example, I believe parse.com is doing this well (ensuring every one connecting with facebook actually generates a user account), but parse lacks lots of high level services needed for games (leaderboards, buddy list ,etc...).