twitterbot
twitterbot copied to clipboard
Several PHP scripts for making Twitter bots that retweet certain terms, or post from a data source (rss, database, markov body, picture folder).
Reddit allow users to post multiple images in a post. This results in the media link to be something like 'reddit.com/gallery/tvptpt', but the media module displays this as 'crosslink' and...
The logger page has zero documentation, and throws an unclear error when you open it without setting an .inc file for database access. It should show a clear message indicating...
It would be a nice feature if we could turn off screen output i.e. echo 'Getting blocked users..'; This could be controlled via a variable within the inc file. Thanks...
I moved away from the old oauth/twitteroauth.php scripts because of this issue, but still can't get it to work. Usually twitter returns 'invalid media type'.
Old script: single-purpose/exactotweet.php New scripts: oo/exactotweet.{php|json|inc.php} Note that this bot quotes tweets in its timeline (i.e. quotes its followers), allow_mentions should be true.
This is probably the last piece of code in here that hasn't changed from the original source I forked from. It's really outdated, didn't support media upload (which I added)...
To prevent bots from accidentally tagging someone on twitter who didn't ask for it (against the Twitter ToS) because output pulled from the db or rss feed contains a @....
Manually loading lib/db when needed is getting out of hand. Since a bot can not use the db but use the logger that does, I used to load the db...
The logview page has some problems: - doesn't show bot name (might already be fixed?) - doesn't show log levels, showing everything as ERROR
When a tweet var field is filled with something that can be attached as a picture/clip, and it has no more content behind the link beyond what is in the...