Sample codes are located at src/twitter4j/examples/ and you can run each classs using bin/className.cmd|sh. To run the example codes, you need to have OAuth credentials configured in twitter4j.properties. See Twitter4J - Configuration for the detail. post a Tweet You can update "What are you doing?" via Twitter.updateStatus() method. See also twitter4j.examples.tweets.UpdateStatus.java for the det