3 ms·
A twitter4j update, taken directly from their webpage: Twitter twitter = (new TwitterFactory()).getInstance(); Status status = twitter.updateStatus("he
by yummyfajitas 14y ago
A twitter4j update, taken directly from their webpage:
Twitter twitter = (new TwitterFactory()).getInstance();
Status status = twitter.updateStatus("hello from Twitter4j");
You also need a 4 line twitter4j.properties file containing your assorted tokens and secrets. It's a bit longer than 10 lines, but still pretty straightforward, even with the use of a (probably unnecessary) TwitterFactory.
By the way, I said java is a simple systems programming language. It's not what I would reach for if I wanted to update twitter either.
- Tichy 14y agoMaybe they updated their homepage since then (it was a couple of months ago). What do you mean by "systems programming"?
- yummyfajitas 14y ago"Systems programming" is a poorly defined term, but it generally refers to building operating systems, databases, event buses, that sort of thing. Redis <- systems programming Aggregating your tweets in redis <- application programming