function tj_the_tweet_link() {

if (!$url = get_post_meta(get_the_ID(), 'tweet_trim_url_2', true)) {

$url = tj_save_tweet_link(get_the_ID());

}



if ($old_url = get_post_meta(get_the_ID(), 'tweet_trim_url', true)) {

delete_post_meta(get_the_ID(), 'tweet_trim_url');

}



$output_url = sprintf(

'http://twitter.com/home?status=%s%s%s',

urlencode(get_the_title()),

urlencode(' - '),

$url

);

$output_url = str_replace('+','%20',$output_url);

return $output_url;

}