Listen tweets in real-time
问题 I want to listen to a tweet in real-time, which means when someone tweets I want to see that tweet. However I was able to get tweets from my news feed using twitter4j library. Here's the code. package twitteroperation; import java.util.List; import twitter4j.Status; import twitter4j.TwitterException; import twitter4j.TwitterFactory; import twitter4j.conf.ConfigurationBuilder; public class TwitterOperation { /** * @param args the command line arguments */ public static void main(String[] args)