Hacker News new | ask | show | jobs
by gcr 4597 days ago
Tinder could just remove the facebook profile ID from the fields they return for each user, couldn't they? This might be a simple fix.
1 comments

Tech-wise, this would imply using a secondary ID to uniquely identify their users. A simple fix, yes, just that it's often a better way to rely on a third-party's ID when you use said third-party's auth system.
Mmm. Good point -- maintaining a separate mapping is harder to implement and can lead to preformance issues. I think I see why they did it the way they did now.
Not really harder or bad performance-wise, like esrauch said you can just hash it or anything to get a custom unique value. It's just that to most devs, the first idea will be "I need a unique ID and FB already gives me one, why roll out something else?".
They could just encrypt the facebook ids in a way that allows the server to map the encrypted client id back to the canonical facebook id.