From: Ken-ichi Mito Date: Thu, 27 Feb 2014 22:36:25 +0000 (+0900) Subject: enable SSL option for Net::Twitter::Lite::WithAPIv1_1 X-Git-Url: http://lab.mitty.jp/git/?a=commitdiff_plain;h=7848b0bba7fae75a23c2a26667d5c499e0d57e3d;p=lab.git enable SSL option for Net::Twitter::Lite::WithAPIv1_1 * {{{SSL is required}}} --- diff --git a/Dev/twitter/dump_timeline.pl b/Dev/twitter/dump_timeline.pl index 4cec2a6..4e2db3c 100755 --- a/Dev/twitter/dump_timeline.pl +++ b/Dev/twitter/dump_timeline.pl @@ -140,6 +140,7 @@ sub login { consumer_key => $conf->{consumer_key}, consumer_secret => $conf->{consumer_secret}, legacy_lists_api => 0, + ssl => 1, ); $bot->access_token($conf->{access_token}); diff --git a/Dev/twitter/twitterbot.pl b/Dev/twitter/twitterbot.pl index a4ead6b..1aa5bbd 100755 --- a/Dev/twitter/twitterbot.pl +++ b/Dev/twitter/twitterbot.pl @@ -179,6 +179,7 @@ sub login { consumer_key => $conf->{consumer_key}, consumer_secret => $conf->{consumer_secret}, legacy_lists_api => 0, + ssl => 1, ); $bot->access_token($conf->{access_token}); diff --git a/Dev/twitter/update_timeline.pl b/Dev/twitter/update_timeline.pl index d93906c..7dcb0b1 100755 --- a/Dev/twitter/update_timeline.pl +++ b/Dev/twitter/update_timeline.pl @@ -95,6 +95,7 @@ sub login { consumer_key => $conf->{consumer_key}, consumer_secret => $conf->{consumer_secret}, legacy_lists_api => 0, + ssl => 1, ); $bot->access_token($conf->{access_token});