forked from GNUsocial/gnu-social
Use ssl for fetching frinds_timeline from Twitter since it requires auth and is a protected resource
This commit is contained in:
parent
fd9d653eb3
commit
aa4066bac6
@ -42,7 +42,7 @@ class TwitterOAuthClient extends OAuthClient
|
|||||||
function statuses_friends_timeline($since_id = null, $max_id = null,
|
function statuses_friends_timeline($since_id = null, $max_id = null,
|
||||||
$cnt = null, $page = null) {
|
$cnt = null, $page = null) {
|
||||||
|
|
||||||
$url = 'http://twitter.com/statuses/friends_timeline.json';
|
$url = 'https://twitter.com/statuses/friends_timeline.json';
|
||||||
$params = array('since_id' => $since_id,
|
$params = array('since_id' => $since_id,
|
||||||
'max_id' => $max_id,
|
'max_id' => $max_id,
|
||||||
'count' => $cnt,
|
'count' => $cnt,
|
||||||
|
Loading…
Reference in New Issue
Block a user