From 711f93889260ba35e5c5d2fe704fefa0320e58cf Mon Sep 17 00:00:00 2001 From: Jean Baptiste Favre Date: Sun, 26 Jan 2014 22:27:16 +0100 Subject: [PATCH] Fiw TwitterBridge after SSL enforcement (https://dev.twitter.com/discussions/24239) --- plugins/TwitterBridge/lib/twitteroauthclient.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/TwitterBridge/lib/twitteroauthclient.php b/plugins/TwitterBridge/lib/twitteroauthclient.php index 720844211a..f992a09079 100644 --- a/plugins/TwitterBridge/lib/twitteroauthclient.php +++ b/plugins/TwitterBridge/lib/twitteroauthclient.php @@ -310,7 +310,7 @@ class TwitterOAuthClient extends OAuthClient function statusesRetweet($id) { - $url = "http://api.twitter.com/1.1/statuses/retweet/$id.json"; + $url = "https://api.twitter.com/1.1/statuses/retweet/$id.json"; $response = $this->oAuthPost($url); $status = json_decode($response); return $status; @@ -326,7 +326,7 @@ class TwitterOAuthClient extends OAuthClient function favoritesCreate($id) { - $url = "http://api.twitter.com/1.1/favorites/create.json"; + $url = "https://api.twitter.com/1.1/favorites/create.json"; $params=array(); $params['id'] = $id; $response = $this->oAuthPost($url, $params); @@ -344,7 +344,7 @@ class TwitterOAuthClient extends OAuthClient function favoritesDestroy($id) { - $url = "http://api.twitter.com/1.1/favorites/destroy.json"; + $url = "https://api.twitter.com/1.1/favorites/destroy.json"; $params=array(); $params['id'] = $id; $response = $this->oAuthPost($url,$params); @@ -362,7 +362,7 @@ class TwitterOAuthClient extends OAuthClient function statusesDestroy($id) { - $url = "http://api.twitter.com/1.1/statuses/destroy/$id.json"; + $url = "https://api.twitter.com/1.1/statuses/destroy/$id.json"; $response = $this->oAuthPost($url); $status = json_decode($response); return $status; -- 2.39.5