Skip to content

Commit

Permalink
Merge pull request #895 from annando/tumblr-https
Browse files Browse the repository at this point in the history
tumblr: Now using https instead of http for the endpoints
  • Loading branch information
tobiasd authored Sep 28, 2019
2 parents bc65318 + 232a790 commit a2d956b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tumblr/library/tumblroauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -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
Expand Down

0 comments on commit a2d956b

Please sign in to comment.