Chulong-Li / Real-time-Sentiment-Tracking-on-Twitter-for-Brand-Improvement-and-Trend-Recognition

A real-time interactive web app based on data pipelines using streaming Twitter data, automated sentiment analysis, and MySQL&PostgreSQL database (Deployed on Heroku)
https://twitter-analysis-web-app.herokuapp.com/
MIT License
281 stars 127 forks source link

Running Main file doesn't fetch data #7

Closed kedusa closed 2 years ago

kedusa commented 2 years ago

hey, first of all this is a great notebook, thanks for putting this together :D So I set all credentials, set up a local mysql db and tried to run the Main jupyter notebook file. All cells ran great without any issue: checked mysql workbench and the table was created with columns under twitterDB, only thing is - no data. The cell with: `class Stream(tweepy.Stream): def on_status(self, status): print(status.text) Stream = Stream() myStream = tweepy.Stream() myStream.filter (languages=['en'], track = settings.TRACK_WORDS) is filled with the access keys and tokens, and keep on running but no data at all appears in my local db. I also checked my twitter app and saw no requests were made out of my monthly tweet cap usage bar (elevated subscription). Can anyone assist please?

kedusa commented 2 years ago

solved the issue by refactoring the tweepy and auth connection sections as they were outdated.