Twitter for Mac supports Twitter for iPhone protocol handlers
I don't know if there's an official announcement or documentation on it but I realized yesterday, while making Tweaky, that Twitter for Mac supports the same protocol handlers as Twitter for iPhone. The only thing you have to change is the
tweetie:// protocol to
/post protocol handlers in Tweaky to display my tweets and compose a tweet, respectively (e.g., click
twitter://user?screen_name=aral to view my timeline in Twitter for Mac).
NSString * encodedString = (NSString *)CFURLCreateStringByAddingPercentEscapes( NULL, (CFStringRef)unencodedString, NULL, (CFStringRef)@"!*'();:@&=+$,/?%#", kCFStringEncodingUTF8 );