summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-04 12:54:46 -0400
committerEvan Prodromou <evan@status.net>2010-09-07 04:00:57 -0400
commite45b6df419c4be76ac8e21a59117b340524a6b35 (patch)
tree4d43a85022efe18b40edd97107c75514f48d4370 /plugins
parenta8c90d02438b23a73b9195e10ebed54c33f1dce0 (diff)
use home_timeline instead of friends_timeline
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TwitterBridge/twitteroauthclient.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TwitterBridge/twitteroauthclient.php b/plugins/TwitterBridge/twitteroauthclient.php
index 5e5761360..32844a16f 100644
--- a/plugins/TwitterBridge/twitteroauthclient.php
+++ b/plugins/TwitterBridge/twitteroauthclient.php
@@ -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,