IMPORTANT NOTE:Get the permission from the author to obtain the keys and other credentials or log into your twitter account to get your own personal access keys and other credentials.
This project was built by a team of 4 members in the 3rd edition of IIT ISM annual hackathon Hackfest_18 within 36 hours. The #MeToo tags on twitter will be used to perform advanced sentiment analysis and provide support to the movement. Description- Sexual Harassment is a growing problem in the world, especially in the workplace. Working women find it difficult to talk to anyone about the harassment they have endured fearing the loss of the job. This causes feelings to remain hidden for long stretches of time which leads to, in the majority of cases, long-term depression, loss of jobs and in extreme cases even suicide. #MeToo movement on Twitter and Facebook provided women with courage and the platform to put forth their emotions.We designed a python application which picks up tweets & retweets from Twitter containing the #MeToo hashtag using pre-existing Twitter API's. Our application will use Python scripting & libraries, machine learning algorithm, and Natural Language Processing to do a Sentiment Analysis and grade each such post in 4 major emotional categories. This application is implemented through an official Twitter ID which first performed a basic task using machine learning and Sentiment Analysis that is, validate the genuineness of the post by grading them. Our bot will then analyze complex emotion of the user from the grading and then it will perform appropriate task such as retweeting the genuine post and commenting appropriately. There is a large scope of things that can be done with this bot which is in its initial phase. This will help solve the problems of those victims present around the world. Since this is a large-scale social issue so manual handling is not possible for which our NLP powered automated twitter bot is the solution.
To use the given program, you will need to download the three python files present in the repository. Run only the runcode.py file through a python IDE to execute the program. Prerequisites: install Tweepy library,TextBlob library and csv library which are python based before running the code. NOTE- For security purpose, the Twitter API credentials used in the program have been removed. Add your own Twitter App credentials in the Code_fort.py file.
Run the coderun.py program through any python IDE. The program will automatically take out approximately 15 tweets from the Twitter. There wont be any output to see in the terminal. But you will find 2 csv files in the same repository which contains the formatted input and output data.
Python (Spyder IDE) Twitter API's
Rishabh Rajput Mrinalini Singh Prateek S Bhaskar Boora
We plan to promote this bot as a social service automated bot for which we can collaborate with NGO's to help as many people on social media as possible. This program will be generalised for tackling many social issues with minimalistic changes in the code. We plan on extending this program for automated handling of issues such as preventing propagation of BLUE WHALE CHALLENGE(which is a social media propogated suice challenge),and promoting PAD MAN CHALLENGE etc.