Can't get userstream to use the new extended tweet mode




I’m converting a python script to use the new api. I have tweet_mode=‘extended’ working fine with commands, but not with userstream.

This is the code:

kwargs = dict(tweet_mode=‘extended’)

stream = TwitterStream(auth=OAuth(oauth_token, oauth_secret, CONSUMER_KEY, CONSUMER_SECRET), domain=“”)

tweet_iter = stream.user(**kwargs)

But I’m still getting truncated tweets. What am I doing wrong?


User streams has been deprecated and we plan to sunset it soon. I encourage you to build on fully supported API.


All the python APIs I can found all use userstream it seems.

What about the other streams - sitestream. and stream. - are they also deprecated?