Skip to content

nisrulz/twitterbot-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Bot - Java

Show some ❤️

GitHub stars GitHub forks GitHub watchers GitHub followers
Twitter Follow

I built this twitter bot to automate few tasks on twitter with respect to GDG New Delhi.

###Steps

  1. Create a file named twitter4j.properties, place it right under the src folder and update it with credentials from your twitter dashboard

    oauth.consumerKey=Your_Consumer_Key
    oauth.consumerSecret=Your_Consumer_Secret
    oauth.accessToken=Your_Access_Token
    oauth.accessTokenSecret=Your_Access_Token_Secret
    
  2. Configure and code your twitter bot under the TwitterBot.java file.

Credits

staticvoidgames - My starter guide to understanding how to build a twitter bot in java.

kaffeine - Use this to keep your dyno active all the time

If you found this bot helpful or you learned something from the source code and want to thank me, consider buying me a cup of

License

Copyright 2016 Nishant Srivastava

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http:https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.