URL link to Twitter user with ID, not name

送分小仙女□ 提交于 2019-12-03 00:49:43

问题


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.


回答1:


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




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/4132900/url-link-to-twitter-user-with-id-not-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!