Use ssl for fetching frinds_timeline from Twitter since it requires auth and is a protected resource
This commit is contained in:
parent
fe9fc15286
commit
0685b85d8d
|
@ -42,7 +42,7 @@ class TwitterOAuthClient extends OAuthClient
|
|||
function statuses_friends_timeline($since_id = null, $max_id = 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,
|
||||
'max_id' => $max_id,
|
||||
'count' => $cnt,
|
||||
|
|
Loading…
Reference in New Issue
Block a user