Package twitter4j

Examples of twitter4j.Twitter.showSavedSearch()


            System.out.println("Usage: java twitter4j.examples.savedsearches.ShowSavedSearch [saved search id]");
            System.exit(-1);
        }
        try {
            Twitter twitter = new TwitterFactory().getInstance();
            SavedSearch savedSearch = twitter.showSavedSearch(Integer.parseInt(args[0]));
            System.out.println("[name:" + savedSearch.getName() + " query:" + savedSearch.getQuery() + " id:"
                    + savedSearch.getId() + "]");
            System.exit(0);
        } catch (TwitterException te) {
            te.printStackTrace();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.