I have written this other question Is it secure to put the user id as a url parameter?
But I have doubts, I don't know in terms of security what is the best way to identify a user in a social network in a url so that it is bookmarkable.
For example:
https://url?user= user name + unique number
https://url?user= user id
https://url?user= unique nickname
¿any other?
The last one would be a unique nick name different from the Name and Surnames.