A Twitter Gibberish Bot
sort_of_face is developed and tested on PHP 5.3 machines. I am almost positive
it will not run on 5.2 or lower. I never tested it on anything higher, either.
The curl
extension is required for the various things that do HTTP requests,
and the mbstring
extension is required because of some JavaScript scraping
shenanigans.
-
Dump all the files somewhere. It really doesn't matter where.
-
cp config.ini-sample config.ini
-
Edit
config.ini
to suit your fancy. You'll have to put your own Twitter OAuth keys in there, unless you don't want any tweeting to take place. -
./sort_of_face.sh
That's it. The shell script is designed to never output anything, so you can add
it in a cron job without worrying about spamming root's inbox with junk. A file
called debug.log
will be created (and appended) by the shell script, which can
tell you more than you ever cared to know about how the gibberish is built.
This package includes Abraham Williams' twitteroauth
library.
https://github.com/abraham/twitteroauth
It most certainly does.