forked from friendica/friendica-addons
Merge pull request #895 from annando/tumblr-https
tumblr: Now using https instead of http for the endpoints
This commit is contained in:
commit
a2d956b240
|
@ -15,7 +15,7 @@ class TumblrOAuth {
|
||||||
/* Contains the last API call. */
|
/* Contains the last API call. */
|
||||||
public $url;
|
public $url;
|
||||||
/* Set up the API root URL. */
|
/* Set up the API root URL. */
|
||||||
public $host = "http://api.tumblr.com/v2/";
|
public $host = "https://api.tumblr.com/v2/";
|
||||||
/* Set timeout default. */
|
/* Set timeout default. */
|
||||||
public $timeout = 30;
|
public $timeout = 30;
|
||||||
/* Set connect timeout. */
|
/* Set connect timeout. */
|
||||||
|
@ -39,10 +39,10 @@ class TumblrOAuth {
|
||||||
/**
|
/**
|
||||||
* Set API URLS
|
* Set API URLS
|
||||||
*/
|
*/
|
||||||
function accessTokenURL() { return 'http://www.tumblr.com/oauth/access_token'; }
|
function accessTokenURL() { return 'https://www.tumblr.com/oauth/access_token'; }
|
||||||
function authenticateURL() { return 'http://www.tumblr.com/oauth/authorize'; }
|
function authenticateURL() { return 'https://www.tumblr.com/oauth/authorize'; }
|
||||||
function authorizeURL() { return 'http://www.tumblr.com/oauth/authorize'; }
|
function authorizeURL() { return 'https://www.tumblr.com/oauth/authorize'; }
|
||||||
function requestTokenURL() { return 'http://www.tumblr.com/oauth/request_token'; }
|
function requestTokenURL() { return 'https://www.tumblr.com/oauth/request_token'; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Debug helpers
|
* Debug helpers
|
||||||
|
|
Loading…
Reference in a new issue