diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-08-10 06:05:43 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-08-10 06:05:43 +0000 |
commit | fa8433308f5ba1209ec490d6c0835d28da18eacb (patch) | |
tree | 2fffc19f8cbd9a4b678228cc8e2751773b4c77fa /scripts/synctwitterfriends.php | |
parent | df12206421ca74b5c352bb663ca43e9aabe667fd (diff) |
Moved some stuff around. More comments and phpcs compliance.
Diffstat (limited to 'scripts/synctwitterfriends.php')
-rwxr-xr-x | scripts/synctwitterfriends.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/synctwitterfriends.php b/scripts/synctwitterfriends.php index 37f7842a1..39b9ad612 100755 --- a/scripts/synctwitterfriends.php +++ b/scripts/synctwitterfriends.php @@ -145,7 +145,7 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon $client = new TwitterOAuthClient($flink->token, $flink->credentials); try { - $friends_ids = $client->friends_ids(); + $friends_ids = $client->friendsIds(); } catch (OAuthCurlException $e) { common_log(LOG_WARNING, $this->name() . ' - cURL error getting friend ids ' . @@ -174,7 +174,7 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon for ($i = 1; $i <= $pages; $i++) { try { - $more_friends = $client->statuses_friends(null, null, null, $i); + $more_friends = $client->statusesFriends(null, null, null, $i); } catch (OAuthCurlException $e) { common_log(LOG_WARNING, $this->name() . ' - cURL error getting Twitter statuses/friends ' . |