URL link to Twitter user with ID, not name
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.
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
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
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.