Changeset e960958 in lab.git for Dev/twitter/get_oauth.pl


Ignore:
Timestamp:
Jun 21, 2013 3:48:34 PM (11 years ago)
Author:
Ken-ichi Mito <mitty@…>
Branches:
master
Children:
0f8acb5
Parents:
a5b6bf1
Message:

use Net::Twitter::Lite::WithAPIv1_1 instead of Net::Twitter::Lite

  • s/Net::Twitter::Lite/Net::Twitter::Lite::WithAPIv1_1/g;
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/twitter/get_oauth.pl

    r8333ea0 re960958  
    33use warnings; 
    44use utf8; 
    5 use Net::Twitter::Lite; 
     5use Net::Twitter::Lite::WithAPIv1_1; 
    66 
    77use YAML::Tiny; 
     
    1313my $access_token_secret = $config->{'access_token_secret'}; 
    1414 
    15 my $nt = Net::Twitter::Lite->new( 
     15my $nt = Net::Twitter::Lite::WithAPIv1_1->new( 
    1616  traits          => ['API::REST', 'OAuth'], 
    1717  consumer_key    => $consumer_key, 
Note: See TracChangeset for help on using the changeset viewer.