diff --git a/lib/twitter.js b/lib/twitter.js index 1123b1ff..eb886875 100644 --- a/lib/twitter.js +++ b/lib/twitter.js @@ -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() {