Package org.springframework.social.twitter

Examples of org.springframework.social.twitter.SearchResults


public class SearchDemo {

  public static void main(String[] args) {
    TwitterTemplate template = new TwitterTemplate();
    SearchResults results = template.search("#springintegration");
    for (Tweet tweet : results.getTweets()) {
      System.out.println(tweet.getFromUser() + ": " + tweet.getText());
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.social.twitter.SearchResults

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.