bear / python-twitter

A Python wrapper around the Twitter API.
Apache License 2.0
3.41k stars 957 forks source link

How to get full text using GetStreamFilter? #628

Open dhsdshdhk opened 5 years ago

dhsdshdhk commented 5 years ago

I'm using the stream filter like this:

`for line in api.GetStreamFilter(track=expressions, languages=LANGUAGES, stall_warnings=True):

something...`

But I'm having trouble getting the full text of tweets. Where do I put the parameter tweet_mode = 'extended'?

edit: okay I figured it should go here: api = Api(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET, tweet_mode='extended')

but now where do I access the full text?