twitterbotstrap
A base project for playing around with the twitter4j library and creating a twitter bot.
Getting Started
-
Create a twitter account for your twitter bot at twitter.com
-
Sign into dev.twitter.com with your new account
-
Using the right-hand menu go to 'my applications' and click to create a new application
-
Fill in the details to create your new application
-
Click the settings tab and change your application type to 'Read and Write'
-
Click 'Create my access token' on the details page.
-
Copy your consumer key, consumer secret, access key and access secret into the template.properties file in this repo
-
Run
mvn package
-
Run
java -jar target/twitterbotstrap-1.0-SNAPSHOT.jar <my properties file>
If stuff is working you should now see a ton of tweets flying out of your console.