use home_timeline, not friends_timeline, which is deprecated.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 1 Jul 2010 00:06:21 +0000 (20:06 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 1 Jul 2010 00:11:39 +0000 (20:11 -0400)
horde/lib/Block/twitter_timeline.php

index 306dbd2..3a0a0e2 100644 (file)
@@ -127,7 +127,7 @@ class Horde_Block_Horde_twitter_timeline extends Horde_Block
 
         /* Fetch the stream data */
         try {
-            $stream = Horde_Serialize::unserialize($twitter->statuses->friendsTimeline(), Horde_Serialize::JSON);
+            $stream = Horde_Serialize::unserialize($twitter->statuses->homeTimeline(), Horde_Serialize::JSON);
         } catch (Horde_Service_Twitter_Exception $e) {
             $msg = Horde_Serialize::unserialize($e->getMessage(), Horde_Serialize::JSON);
             return $msg
@@ -214,6 +214,7 @@ class Horde_Block_Horde_twitter_timeline extends Horde_Block
             },
 
             retweet: function(id) {
+                {$spinner}.toggle();
                 params = {
                     actionID: 'retweet',
                     tweetId: id