]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use home_timeline instead of friends_timeline
authorEvan Prodromou <evan@status.net>
Sat, 4 Sep 2010 16:54:46 +0000 (12:54 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 7 Sep 2010 08:00:57 +0000 (04:00 -0400)
plugins/TwitterBridge/twitteroauthclient.php

index 5e5761360c0932abc1820ee70646cc0aa9c07d99..32844a16f45964228ffcdf9f56e85f8f0bcfe116 100644 (file)
@@ -188,7 +188,7 @@ class TwitterOAuthClient extends OAuthClient
     }
 
     /**
-     * Calls Twitter's /statuses/friends_timeline API method
+     * Calls Twitter's /statuses/home_timeline API method
      *
      * @param int $since_id show statuses after this id
      * @param int $max_id   show statuses before this id
@@ -197,11 +197,11 @@ class TwitterOAuthClient extends OAuthClient
      *
      * @return mixed an array of statuses
      */
-    function statusesFriendsTimeline($since_id = null, $max_id = null,
-                                     $cnt = null, $page = null)
+    function statusesHomeTimeline($since_id = null, $max_id = null,
+                                  $cnt = null, $page = null)
     {
 
-        $url    = 'https://twitter.com/statuses/friends_timeline.json';
+        $url    = 'https://twitter.com/statuses/home_timeline.json';
         $params = array('since_id' => $since_id,
                         'max_id' => $max_id,
                         'count' => $cnt,