enable SSL option for Net::Twitter::Lite::WithAPIv1_1
authorKen-ichi Mito <mitty@mitty.jp>
Thu, 27 Feb 2014 22:36:25 +0000 (07:36 +0900)
committerKen-ichi Mito <mitty@mitty.jp>
Thu, 27 Feb 2014 22:36:25 +0000 (07:36 +0900)
 * {{{SSL is required}}}

Dev/twitter/dump_timeline.pl
Dev/twitter/twitterbot.pl
Dev/twitter/update_timeline.pl

index 4cec2a6..4e2db3c 100755 (executable)
@@ -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});
index a4ead6b..1aa5bbd 100755 (executable)
@@ -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});
index d93906c..7dcb0b1 100755 (executable)
@@ -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});