Proceed to the individual whose link you wish to copy, then right-click on their name. Enter "https://discordapp.com/users/xxxx/" into the browser window after it has opened. The ID you just copied should be used in lieu of the Xs at the end of the link.
Twitter
Facebook
Instagram
Profile-link