You are here

function _twitter_status_url in Twitter 6.5

Same name and namespace in other branches
  1. 7.6 twitter.module \_twitter_status_url()
  2. 7.5 twitter.module \_twitter_status_url()

Helper to build a Twitter status URL.

Parameters

object $status: A TwitterStatus object.

1 call to _twitter_status_url()
twitter_post_nodeapi in twitter_post/twitter_post.module
Implementation of hook_nodeapi().

File

./twitter.module, line 548
Provides API integration with the Twitter microblogging service.

Code

function _twitter_status_url($status) {
  return TWITTER_HOST . '/' . $status->user->screen_name . '/status/' . $status->id;
}