Repository navigation
PUT /me - #52
PUT /me#52
Conversation
There was a problem hiding this comment.
Why would you want to user change the name. Let's leave it synced with Facebook.
There was a problem hiding this comment.
To be honest, i dont know:D i'll remove it. I just hate facebook dependency!
There was a problem hiding this comment.
I know dependency is shit, but I think its easier for the other users, when the names of their friends on Eventhub are the same on Facebook. And since Facebook names are mostly real its better overall experience.
There was a problem hiding this comment.
Ok, but what do we do if the user changes his name on facebook? Do you want to synch like friends? Thats gonna be expensive!
There was a problem hiding this comment.
I thought assertion will sort it out, as when you log in, your name magically appears in our database. Can you not check the name when the user logs in ?
There was a problem hiding this comment.
what do you mean by login? Do you mean registration? Yeah, on registration we take the name, but after that? What if you change your name on facebook? There is no easy way to determine if a user changed his username on facebook
There was a problem hiding this comment.
What about if we do the same thing that we do with friends, if someone asks for users/1, you will return what you know and will kick off an update where u call Facebook, if the last update was more than 6 hours ago. For example. People do not change the name that often, so 6 hours threshold good I guess.
Maybe change your name on Facebook, and see how Spotify reacts to that.
I don't see how forcing the user to update the name manually makes it easy in any way on the user.
There was a problem hiding this comment.
Ok, let me change this for now, then i will add friends + syncing 3rd party services
There was a problem hiding this comment.
Ok, are you getting redmine emails now?
Do not forget to figure out how to sync the name with Facebook. I guess it is a similar issue to friends.
added MeController#update