Ever been in a situation where you saw a video with a banger song but didn't know its name? Just @VideoSongFinder and we'll reply back with the song name 😃
Note: This has been tested on Linux/Debian | Ubuntu 20.04 LTS
Python>=3.8.1
pip3
( use pip for python3 if it supports your case )
To clone the repository use the statement below or any other statement of choice
git clone https://github.com/chandratop/twitter-song-finder-bot.git
In the project repository type the following in the terminal to install all the necessary dependencies
pip3 install -r requirements.txt
Register for a Twitter developer account. Follow the steps to set up your Bot account and get your API keys.
Register for a ACRCloud Account. Follow the steps to set it up and get your API keys.
- Rename the
.env_sample
file to.env
- Replace
your-key-here
the necessary API keys
TWITTER_CONSUMER_KEY=your-key-here
TWITTER_CONSUMER_SECRET=your-key-here
TWITTER_ACCESS_KEY=your-key-here
TWITTER_ACCESS_SECRET=your-key-here
ACR_HOST_NAME=your-key-here
ACR_ACCESS_KEY=your-key-here
ACR_ACCESS_SECRET=your-key-here
Create a fallback tweet and get the tweet-id
from the url.
https://twitter.com/user-name/tweet-id
Go to bot.py and replace the following line as follows.
temporary.write("1267382918214643713")
to
temporary.write("tweet-id")