Skip to content

☁️ Automatized Twitter biography using openweathermap.org API

License

Notifications You must be signed in to change notification settings

leonardssh/auto-twitter-bio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-twitter-bio

☁️ Automatized Twitter biography using openweathermap.org API

Remember to 🌟 this Github if you 💖 it.

a1

Installation

[Twitter] Get API Keys and Tokens

There is a lot to explain and it would be a waste of time, you better take a look right here: how-to-get-twitter-api-key

After you have completed all the steps and obtained the API Keys and Tokens, copy and paste them into your config.json file (consumer_key, consumer_secret, access_token, access_token_secret fields).

[OpenWeatherMap] Get your application key

You have to get your openweathermap.org api key, to allow your app to get the weather of your favourite city. Register here, then go on your dashboard to get your key. Copy and paste it in your config.json file (weather field).

[Crontab] Run the script every 5 minutes

You have to edit the crontab table using crontab -e. Then, add the following line to this file:

*/5 * * * * cd /path/to/auto-twitter-bio && /usr/bin/python3 /path/to/auto-twitter-bio/main.py >> ~/twitter-cron.log 2>&1

This will run the script and update your biography every 5 minutes.

That's it

Congratulations, you have successfully installed Automatized Twitter Biography. Feel free to open an issue if necessary!

Thanks to Androz2091 for the base code.

About

☁️ Automatized Twitter biography using openweathermap.org API

Topics

Resources

License

Stars

Watchers

Forks

Languages