function twitter_profile_url in Twitter 6.4
Same name and namespace in other branches
- 6.3 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()
File
- ./
twitter.module, line 287 - Establishes an interface to communicate with Twitter
Code
function twitter_profile_url($twitter_screen_name) {
$name = check_plain($twitter_screen_name);
return variable_get('twitter_host', TWITTER_HOST) . '/' . $name;
}