tumblr: Now using https instead of http for the endpoints

pull/895/head
Michael 2019-09-28 17:13:40 +00:00
parent c675cd4cb2
commit 232a79057b
1 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ class TumblrOAuth {
/* Contains the last API call. */
public $url;
/* Set up the API root URL. */
public $host = "http://api.tumblr.com/v2/";
public $host = "https://api.tumblr.com/v2/";
/* Set timeout default. */
public $timeout = 30;
/* Set connect timeout. */
@ -39,10 +39,10 @@ class TumblrOAuth {
/**
* Set API URLS
*/
function accessTokenURL() { return 'http://www.tumblr.com/oauth/access_token'; }
function authenticateURL() { return 'http://www.tumblr.com/oauth/authorize'; }
function authorizeURL() { return 'http://www.tumblr.com/oauth/authorize'; }
function requestTokenURL() { return 'http://www.tumblr.com/oauth/request_token'; }
function accessTokenURL() { return 'https://www.tumblr.com/oauth/access_token'; }
function authenticateURL() { return 'https://www.tumblr.com/oauth/authorize'; }
function authorizeURL() { return 'https://www.tumblr.com/oauth/authorize'; }
function requestTokenURL() { return 'https://www.tumblr.com/oauth/request_token'; }
/**
* Debug helpers