adilmoujahid / Twitter_Analytics

Source code for blog post: An Introduction to Text Mining using Twitter Streaming API and Python
99 stars 74 forks source link

Error #2

Open mythicalhacker opened 6 years ago

mythicalhacker commented 6 years ago

Reading Tweets

Structuring Tweets

Traceback (most recent call last): File "read_tweets.py", line 131, in main() File "read_tweets.py", line 44, in main tweets['text'] = map(lambda tweet: tweet['text'], tweets_data) File "read_tweets.py", line 44, in tweets['text'] = map(lambda tweet: tweet['text'], tweets_data) KeyError: 'text'