Open native Twitter App from my Application using IBAction

ibaction, objective-c, twitter, url-scheme, xcode

Solution

Did you try:

twitter://

ex:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"twitter://user?screen_name=username"]];

Problem

I'd like to implement the natvie Twitter App into my iOS Application. I've already done that with Facebook by using the URL Schemes. But I weren't able to find such thing for Twitter. For Facebook I used: ``` -(IBAction)facebook:(id)sender { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"fb://"]]; } ``` But when I try to use ``` @"Twitter" or @"twitter" or @"tw" ``` nothing happens. Would be great if you guys could help me out. I haven't found anything in the Interweb :/ If there is something just like it please :) Thanks in advance :)

Original source