summaryrefslogtreecommitdiff
path: root/scripts/twitterstatusfetcher.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-08-10 07:00:59 +0000
committerZach Copley <zach@controlyourself.ca>2009-08-10 07:00:59 +0000
commit27548c690350bdf0376d846a5e8e86477359297d (patch)
tree2f6d617d3256a70e8612456fcbcda346e505c476 /scripts/twitterstatusfetcher.php
parentfa8433308f5ba1209ec490d6c0835d28da18eacb (diff)
I forgot that we don't do database upgrades for point releases. So I've
changed Twitter OAuth to store token and token secret in the same field in foreign_link (credentials). This should be changed in 0.9.
Diffstat (limited to 'scripts/twitterstatusfetcher.php')
-rwxr-xr-xscripts/twitterstatusfetcher.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/twitterstatusfetcher.php b/scripts/twitterstatusfetcher.php
index e04a8993f..f5289c5f4 100755
--- a/scripts/twitterstatusfetcher.php
+++ b/scripts/twitterstatusfetcher.php
@@ -161,7 +161,9 @@ class TwitterStatusFetcher extends ParallelizingDaemon
// to start importing? How many statuses? Right now I'm going
// with the default last 20.
- $client = new TwitterOAuthClient($flink->token, $flink->credentials);
+ $token = TwitterOAuthClient::unpackToken($flink->credentials);
+
+ $client = new TwitterOAuthClient($token->key, $token->secret);
$timeline = null;