Hi!
I am new to Twitter applications.
I created a twitter application, and got there the consumer key, secret as well as the access token itself.
I hardly have posts on my twitter, but when I try the following code: (I am using my application keys, and my own access tokens
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.setDebugEnabled(true).setOAuthConsumerKey(consumerKey).setOAuthConsumerSecret(consumerPassword).setOAuthAccessToken(authKey).setOAuthAccessTokenSecret(authKeySecret);
TwitterFactory tf = new TwitterFactory(cb.build());
Twitter twitter = tf.getInstance();
StatusUpdate latestStatus = new StatusUpdate("test");
Status status = null;
try {
status = twitter.updateStatus(latestStatus);
} catch (TwitterException e) {
}
I get:
403: This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
error - Error creating status.
How could it be? am I missing something?