You are here

function twitter_profile_url in Twitter 6.3

Same name and namespace in other branches
  1. 6.4 twitter.module \twitter_profile_url()

Helper function to generate twitter profile URLs.

Parameters

$twitter_screen_name: string with the Twitter screen name

Return value

string full URL to its Twitter profile.

1 call to twitter_profile_url()
twitter_views_handler_field_profile_url::render in ./twitter_views_field_handlers.inc

File

./twitter.module, line 288

Code

function twitter_profile_url($twitter_screen_name) {
  $name = check_plain($twitter_screen_name);
  return variable_get('twitter_host', TWITTER_HOST) . '/' . $name;
}