Open dhsdshdhk opened 5 years ago
I'm using the stream filter like this:
`for line in api.GetStreamFilter(track=expressions, languages=LANGUAGES, stall_warnings=True):
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')
api = Api(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET, tweet_mode='extended')
but now where do I access the full text?
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?