function _twitter_status_url in Twitter 7.6
Same name and namespace in other branches
- 6.5 twitter.module \_twitter_status_url()
- 7.5 twitter.module \_twitter_status_url()
Helper to build a Twitter status URL.
Parameters
object $status: A TwitterStatus object.
2 calls to _twitter_status_url()
- twitter_actions_tweet in twitter_actions/
twitter_actions.module - Submits a tweet and processes the response.
- twitter_post_entity_insert in twitter_post/
twitter_post.module - Implementation of hook_entity_insert().
File
- ./
twitter.module, line 644 - Provides API integration with the Twitter microblogging service.
Code
function _twitter_status_url($status) {
if ($status) {
return TWITTER_HOST . '/' . $status->user->screen_name . '/status/' . $status->id;
}
}