From a7b0c8b8bc41f18d3e47c512c6cee470501b9703 Mon Sep 17 00:00:00 2001 From: John Clarke Date: Wed, 11 May 2011 19:07:02 +0200 Subject: [PATCH] Updated the URLs for the calls to Twitter as the user could be based on HTTPS with their profile, and this is just a safer fallback --- application/libraries/tweet.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/libraries/tweet.php b/application/libraries/tweet.php index 20504da..795c883 100755 --- a/application/libraries/tweet.php +++ b/application/libraries/tweet.php @@ -277,9 +277,9 @@ class tweetOauth extends tweetConnection { private $_obj; private $_tokens = array(); - private $_authorizationUrl = 'http://api.twitter.com/oauth/authorize'; - private $_requestTokenUrl = 'http://api.twitter.com/oauth/request_token'; - private $_accessTokenUrl = 'http://api.twitter.com/oauth/access_token'; + private $_authorizationUrl = 'https://api.twitter.com/oauth/authorize'; + private $_requestTokenUrl = 'https://api.twitter.com/oauth/request_token'; + private $_accessTokenUrl = 'https://api.twitter.com/oauth/access_token'; private $_signatureMethod = 'HMAC-SHA1'; private $_version = '1.0'; private $_apiUrl = 'http://api.twitter.com';