Skip to content

Commit

Permalink
Switch to using API 1.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Jun 7, 2013
1 parent 65d3a7d commit b98a9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.pl
Expand Up @@ -10,7 +10,7 @@
my $config = LoadFile(shift || 'config.yaml'); my $config = LoadFile(shift || 'config.yaml');


my $t = Net::Twitter->new({ my $t = Net::Twitter->new({
traits => [qw(API::REST OAuth)], traits => [qw(API::RESTv1_1 OAuth)],
consumer_key => $config->{consumer_key}, consumer_key => $config->{consumer_key},
consumer_secret => $config->{consumer_secret}, consumer_secret => $config->{consumer_secret},
}) or die; }) or die;
Expand Down

0 comments on commit b98a9c1

Please sign in to comment.