I built this twitter bot to automate few tasks on twitter with respect to GDG New Delhi.
###Steps
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
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 ☕
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://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.