A logging tool for Twitter Follower Stats.
This script will log your Twitter Follower statistics to a Google spreadsheet.
sudo apt-get install ruby-dev
gem install t
Authorize your Twitter account:
A Google account, as the log is saved to a spreadsheet in your Google Drive.
An IFTTT account.
Connect the Maker and Google Drive channels to your IFTTT account.
cd into the tstats directory and edit the script with your IFTTT secret key, your IFTTT trigger event name and your Twitter screen name. Make the script executable with:
chmod +x tstats.sh
Then simply run it with:
If you receive a "Congratulations" message and an entry is added to your spread sheet, you can go ahead and add it to your cron to run at a predetermined time.
To have this script run every 24 hours, add this to your crontab (you may need to change the path):
42,09 * * * * /home/user/tstats/tstats.sh >/dev/null 2>&1
This script was published on the alexloth.com blog before it was moved to this Github repository.
The tstats script is released under the GNU GENERAL PUBLIC LICENSE Version 3.
Media files are released under the Creative Commons Attribution-NonCommercial 4.0 International license. This allows for non-commercial use as long as credit is given and that derivative works (works based on the CC licensed data) are also made available under the same license.