Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Commit

Permalink
Moved stream params from URL to POST data to support long follow lists.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Newey committed Sep 6, 2011
1 parent 3975437 commit beb68ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/twitter.js
Expand Up @@ -209,9 +209,10 @@ Twitter.prototype.stream = function(method, params, callback) {

var url = stream_base + '/' + escape(method) + '.json';

var request = this.oauth.post(url + '?' + querystring.stringify(params),
var request = this.oauth.post(url,
this.options.access_token_key,
this.options.access_token_secret);
this.options.access_token_secret,
params);

var stream = new streamparser();
stream.destroy = function() {
Expand Down

0 comments on commit beb68ae

Please sign in to comment.