python-twitter icon indicating copy to clipboard operation
python-twitter copied to clipboard

How to get full text using GetStreamFilter?

Open dhsdshdhk opened this issue 5 years ago • 0 comments

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?

dhsdshdhk avatar Aug 08 '19 17:08 dhsdshdhk