There is a little code block for tweet with java.