aboutsummaryrefslogtreecommitdiffstats
path: root/addon/twitter
diff options
context:
space:
mode:
Diffstat (limited to 'addon/twitter')
-rw-r--r--addon/twitter/twitter.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/addon/twitter/twitter.php b/addon/twitter/twitter.php
index 1dce9d2f6..7f2b2e1c7 100644
--- a/addon/twitter/twitter.php
+++ b/addon/twitter/twitter.php
@@ -243,8 +243,11 @@ function twitter_post_hook(&$a,&$b) {
$msg .= '... ' . $shortlink;
}
// and now tweet it :-)
- if(strlen($msg))
- $tweet->post('statuses/update', array('status' => $msg));
+ if(strlen($msg)) {
+ $result = $tweet->post('statuses/update', array('status' => $msg));
+ logger('twitter_post returns: ' . $result);
+ }
+
}
}
}