$ cd ~/projects Simple Twitter Bot API Composable bot behavior built around Twitter4J ──────────────────────────────────────────────────── A very simple API/Twitter4J wrapper used to implement Twitter bots. tags: Java ──────────────────────────────────────────────────── ## Combine events, filters, and reactions Simple Twitter Bot API is a Java wrapper that lets a bot combine several behaviors. Each behavior listens for events, filters matching tweets, and runs one or more reactions. The README demonstrates watching a keyword or hashtag, excluding retweet-like messages, and replying from a queue. A second example likes mentions of a specific account. The source also includes follow events, blacklist and whitelist filters, and reply, retweet, follow, and console-output reactions. A builder assembles the behaviors, which are then added to a TwitterBot instance before starting it. Simple Twitter Bot API on GitHub https://github.com/michidk/SimpleTwitterBotAPI ──────────────────────────────────────────────────── ## Study or adapt the example The original project targets Java 8 and uses Twitter4J for authentication and API access. The README explains passing a Twitter4J configuration to the bot constructor, and the repository includes example Java code and a properties-file template. This is a historical Twitter integration. The repository does not establish compatibility with the current X API, its access plans, or current authentication requirements. Use the source to inspect the behavior model and verify API compatibility before attempting to run a bot. Example and original setup guide https://github.com/michidk/SimpleTwitterBotAPI/blob/master/README.md ──────────────────────────────────────────────────── $ ls ~/pages > about curl -L lohr.dev > projects curl -L lohr.dev/projects > blog curl -L lohr.dev/blog > stats curl -L lohr.dev/stats > contact curl -L lohr.dev/contact ──────────────────────────────────────────────────── https://lohr.dev