Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I open a user's Twitter profile using the Twitter app using a link in Mobile Safari?

It looks like Twitter registers the URI scheme of twitter://, but after playing around with it I can't get it to directly open a user's profile. I've tried:

twitter://username
twitter://user/username
twitter://profile/username

with no luck. I'll need it to work on Android as well.

Thoughts?

like image 329
Kirk Ouimet Avatar asked Nov 02 '11 00:11

Kirk Ouimet


People also ask

How do you open a link on Twitter?

Step 1: Tap your profile picture in the top-left corner of the screen. Step 2: Tap “Settings and privacy.” Step 3: Tap “Accessibility.” Step 4: Scroll down and tap the toggle to the right of “Open links in Reader View” to turn this setting on.

How do I open Twitter links on iOS app?

When you click any Twitter link on an iPhone, you will get the option of opening it in the app. Once you click that option, it should work.

How do I open Twitter links in my browser?

Go to Settings > Apps > Twitter > under Defaults go to Set as default and turn off Open supported links.


2 Answers

I found two URL schemes for twitter tweetie:// and twitter://:

tweetie:///user?screen_name=jessicaalba
twitter:///user?screen_name=jessicaalba

On this wiki site you can find a lot of other iphone url schemes (including twitter)

like image 146
beryllium Avatar answered Nov 15 '22 23:11

beryllium


Doesn't seem to be official documented anywhere so I wouldn't count on all versions of the Twitter app supporting it but http://groups.google.com/group/twitter-development-talk/browse_thread/thread/92b958b7af002993?pli=1 gives a hint that might be worth a try:

I just found that "twitter:///user?screen_name=tvdw" works as well.

like image 24
Jonah Avatar answered Nov 16 '22 00:11

Jonah