Hacker News new | past | comments | ask | show | jobs | submit login

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.




Maybe they updated their homepage since then (it was a couple of months ago).

What do you mean by "systems programming"?


"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




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: