Changeset 1680a86 in lab.git for twitter/get_oauth.pl
- Timestamp:
- Sep 11, 2010 12:49:29 PM (14 years ago)
- Branches:
- master, trunk
- Children:
- d006afb
- Parents:
- c78c702
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
twitter/get_oauth.pl
rc78c702 r1680a86 5 5 use Net::Twitter; 6 6 7 my $consumer_key = 'CONSUMER_KEY'; 8 my $consumer_key_secret = 'CONSUMER_KEY_SECRET'; 7 use YAML::Tiny; 8 my $config = (YAML::Tiny->read('config.yml'))->[0]; 9 10 my $consumer_key = $config->{'consumer_key'}; 11 my $consumer_key_secret = $config->{'consumer_key_secret'}; 12 my $access_token = $config->{'access_token'}; 13 my $access_token_secret = $config->{'access_token_secret'}; 9 14 10 15 my $nt = Net::Twitter->new(
Note: See TracChangeset
for help on using the changeset viewer.