A simple python script that does automated Twitter based support for events promoted online
This is not great code but just used a bunch of APIs to make it work, suggestions to improve are absolutely welcome. This code is supposed to run periodically and performs the following tasks
- It grabs a bunch of tweets with a specific Hashtag, For eg, #savethehacker
- Analyzes the sentiment of each tweet
- Based on the sentiment score (positive probability a set of actions are triggered)
- All matching tweets are bookmarked
- Highly positive tweets are retweeted
- Negative tweets are SMSed to a phone number (belonging to the organizer)
- When tweets are highly negative a phone call is made to the organizer with a specific message
- Generate simple analysis and send an email to the organizer
Done during @savethehacker 2015
Teammate and Idea : @igauravsehrawat