Backend: Python3, OpenweatherAPI (To fetch the forecast), TwitterAPI(Tweepy module) - To send the weather data to frontend to make a tweet
Step 1) git clone https://github.com/x0samnan/TwitterWeatherBot.git
Step 2) cd TwitterWeatherBot
Step 3) Install the requirements. pip install -r requirements.txt
Step 4) Edit the 'apitokens' file and replace the lines with your respective API tokens.
Step 5) Make the python script executable. sudo chmod +x twitterbot.py
Step 6) Run the script. python3 twitterbot.py
Voila! The script takes the weather information of given location and tweets it.