URL link to Twitter user with ID, not name

TwitterPermalinks

Twitter Problem Overview


I want to have a link to my twitter page that references it with my twitter ID and not twitter name. This is because I want to build the link into an app and the twitter name for the account may change in future.

Twitter Solutions


Solution 1 - Twitter

After struggling with this issue for a while, found a solution which works on mobile:

https://twitter.com/intent/user?user_id=XXX

Source: https://dev.twitter.com/discussions/3386

Solution 2 - Twitter

UPDATE: This answer doesnt work after 2013 (Read the official response in twitter's forum). For an alternate method see quarkon's answer.

Original Answer:


Use ID in the end of this url, like:

https://twitter.com/account/redirect_by_id/783214

Solution 3 - Twitter

You can use new URL structure: https://twitter.com/i/user/50988711

Note: At the point of referral to mobile application is not yet stable.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMattView Question on Stackoverflow
Solution 1 - TwitterSaša Tomislav MataićView Answer on Stackoverflow
Solution 2 - TwitterJorge PalacioView Answer on Stackoverflow
Solution 3 - TwitterMert S. KaplanView Answer on Stackoverflow