diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-20 10:01:12 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-20 10:01:12 +0200 |
commit | 020deefba613327a1d8875ba7f2cf9a750be42dd (patch) | |
tree | f5989c7f45b512c81cc4bec025e7c7137419d516 /addon/twitter | |
parent | 1c9ed08620578bebc8af16e003a2ecef2b8a1f37 (diff) | |
parent | b27d68633be6219c3f65d830178e3dc96c1c91e9 (diff) | |
download | volse-hubzilla-020deefba613327a1d8875ba7f2cf9a750be42dd.tar.gz volse-hubzilla-020deefba613327a1d8875ba7f2cf9a750be42dd.tar.bz2 volse-hubzilla-020deefba613327a1d8875ba7f2cf9a750be42dd.zip |
Merge remote-tracking branch 'friendika/master' into newacl
Diffstat (limited to 'addon/twitter')
-rw-r--r-- | addon/twitter/twitter.php | 7 |
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); + } + } } } |