Skip to content
A little shell script that will EVENTUALLY print a tweet linking to itself
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
metaTweet.min.sh
metaTweet.sh

README.md

MetaTweet

A little shell script that will EVENTUALLY print a tweet linking to itself

Install T (https://github.com/sferik/t)

gem install t

Run Script

cd ../filesLocation
chmod u+rwx metaTweet.min.sh
./metaTweet.min.sh

or

#!/bin/bash
A="0";C=0;D=0;
while :; do
E=$(t update "This tweet is the best tweet https://twitter.com/quitequinn/status/$A");D=${E[@]:51:18}
if [ $A -eq $D ]; then
exit
fi
F=$(($D-$C));A=$(($D+$F));yes|t delete status $D;C=$D
done

Wait a long time... Maybe someone can help me here.

You can’t perform that action at this time.