summaryrefslogtreecommitdiff
path: root/tweet-archive.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tweet-archive.pl')
-rw-r--r--tweet-archive.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tweet-archive.pl b/tweet-archive.pl
index 9fd947f..3c6c0b0 100644
--- a/tweet-archive.pl
+++ b/tweet-archive.pl
@@ -22,7 +22,7 @@ my $cb = Data::Visitor::Callback->new(
my $dt = DateTime::Format::Strptime->new(pattern => '%a %b %d %T %z %Y');
my $nt = Net::Twitter->new(
- traits => [qw/API::REST OAuth/],
+ traits => [qw/API::RESTv1_1 OAuth/],
consumer_key => $conf->{consumer_key},
consumer_secret => $conf->{consumer_secret},
);