Due to the ongoing pandemic, we have been increasingly using our electronics to look at various screens. Our inspiration is to create an application that allows the user to hear tweet updates instead of reading them on a screen. This helps users reduce screen time usage while keeping them updated on the world around them.
What it does
- Asks user for Twitter username.
- Gathers the 5 most recent tweets of specified user.
- Calls on registered phone number and speaks out tweets in Twilio’s default voice.
How we built it
Written in python language, we use Tweepy Library to fetch Twitter API for tweets and feed that data to Twilio API which in turn calls users and plays the tweets.
Challenges we ran into
- Limited input for cellphone numbers given we did not have a premium Twilio account.
- Creating a virtual environment proved challenging.
- Editing Twilio's own xml language (TwiML) to customize message.
Accomplishments/What we learned
- How to use Twitter API using Tweepy Library.
- How to use Twilio API and customize the default message to be played.
- How to authenticate the API using various secret tokens.
- Learned to collaborate and communicate.
What's next for Audible Tweet Fun
Possible additional functionalities:
- Deploy an app or website that users can visit and initiate calls
- Add functionality for user to register their own cell #
- Create a virtual environment to encrypt our API credentials
- Add functionality to schedule daily tweet updates