From: Joshua Roesslein Date: Mon, 9 Jul 2012 06:31:54 +0000 (-0700) Subject: Fix userstreams. Use delimited! X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=37eedbcd635945acb32f49d52ce8aa20d4f80428;p=tweepy.git Fix userstreams. Use delimited! --- diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 2d76a97..ecc4847 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -176,12 +176,11 @@ class Stream(object): pass def userstream(self, count=None, async=False, secure=True): + self.parameters = {'delimited': 'length'} if self.running: raise TweepError('Stream object already connected!') - self.url = '/2/user.json' + self.url = '/2/user.json?delimited=length' self.host='userstream.twitter.com' - if count: - self.url += '&count=%s' % count self._start(async) def firehose(self, count=None, async=False):