From 7848b0bba7fae75a23c2a26667d5c499e0d57e3d Mon Sep 17 00:00:00 2001 From: Ken-ichi Mito Date: Fri, 28 Feb 2014 07:36:25 +0900 Subject: [PATCH] enable SSL option for Net::Twitter::Lite::WithAPIv1_1 * {{{SSL is required}}} --- Dev/twitter/dump_timeline.pl | 1 + Dev/twitter/twitterbot.pl | 1 + Dev/twitter/update_timeline.pl | 1 + 3 files changed, 3 insertions(+) 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}); -- 1.7.9.5