Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Link to a Twitter profile using the internal ID rather than the screen name

Tags:

twitter

In my application I have the internal integer ID of a Twitter user and I want to provide a link to their Twitter page, e.g. I have an ID of 123456 for the Twitter account http://twitter.com/thisisanexample and I want to provide a link that resolves to the Twitter account page using the ID.

I know I could query Twitter's web services using the ID and get the screen name but I'd rather not if possible.

Does anyone know if Twitter provides a URL that takes the internal integer ID of the user and redirects to the normal user Twitter profile?

like image 874
James Newton-King Avatar asked Dec 19 '11 23:12

James Newton-King


People also ask

How do you copy your Twitter link to Instagram?

In a browser, Twitter links are copied this way: Go to Profile. Select the URL in the web address field and click it with the right mouse button. Choose Copy.


1 Answers

Update: No longer works


Yes. Example:

http://twitter.com/account/redirect_by_id?id=783214

like image 103
Anon Avatar answered Sep 28 '22 10:09

Anon