Python Voice Assistant for Twitter - Tweet with Your Voice!
Tech Tribe
I build a Python assistant that lets me tweet using my voice and simple voice commands! For this, I employ a few Python libraries such as Tweepy and SpeechRecognition. The Python voice assistant starts by listening for the key phrase "send a tweet." Afterwards, the program talks to the user, prompting them to say the text of the tweet, punctuation, and emojis. Lastly, the twitter bot seamlessly posts our tweet on Twitter.
To keep this Python automation video interesting, I did not explain every single line of code in this tutorial, but you are welcome to check out the code on Github below (well-commented) and ask any questions in the comment section.
This project can be further extended to make a more comprehensive voice assistant using Python. In this video, we have completed the main code that allows the program to listen to our voice and perform actions given our commands. We can add more capabilities, like looking things up, playing music, even telling jokes. This twitter bot is just the start. I will consider making a follow-up video adding more functionality to this python voice assistant project is there is sufficient interest.
Subscribe for more content like this!
Setting up Twitter authentication: https://www.slickremix.com/docs/how-to-get-api-keys-and-tokens-for-twitter/ Code: https://github.com/techtribeyt/twitter-voice-assistant/blob/main/tweetbot.py
#bot #coding #programming ... https://www.youtube.com/watch?v=UYbTUvWgSeA
33542808 Bytes