If I have an application that knows a user’s internal github
id number, is there any way to link to a GitHub webpage that will do a 302 redirect to their actual profile page? I was hoping to generate a stable URL, because while GitHub usernames can change, GitHub identifiers never do. Currently, my only option is to contact the GitHub API, and get the user’s profile URL from their id.
Namely, instead of linking to something like this:
It would be great if I could link to something like this:
Which would redirect to https://github.com/april.
Thanks so much!