Hi,
I am having following problem in TwitterCBR example application.
Exception in thread "Thread-0" java.lang.IllegalStateException:
Authentication credentials are missing. See
http://twitter4j.org/configuration.html for the detail.
at
twitter4j.TwitterBaseImpl.ensureAuthorizationEnabled(TwitterBaseImpl.java:205)
at twitter4j.TwitterStreamImpl.sample(TwitterStreamImpl.java:147)
at org.drools.examples.twittercbr.TwitterCBR$1.run(TwitterCBR.java:80)
at java.lang.Thread.run(Unknown Source)
I have configured twitter4j.properties file as following.
debug=true
oauth.consumerKey=BpOiuGBcoZnbHsueuwM0w
oauth.consumerSecret=hQdpWR2Nu6m8vG35ggu1LdAoVfBgKiBsDxq7RDQVA
oauth.accessToken=257812222-aqqkXHdKIcVv0JfGu4oftAmb5uRNNQ9r2i9pzlzj
oauth.accessTokenSecret=1HqzEKEiL6EbzP8SDW6ox5vnc5qxSn1JxQTIsOFujE
Where I am going wrong?
Regards
Madhusoodan