Posting a Tweet in Java
Twitter offers an API that allows you to, among many things, post a tweet or status update. Doing so from my Java application was not entirely straightforward for me. I usually use the RestTemplate class supplied with Spring Boot. However, there seemed no obvious way to combine the use of the Spring RestTemplate with the OAuth1.0a authentication required by the Twitter API. »