This is my second day of Processing and I'm very very happy. This is fun.
I'm stuck on one thing, though: I'm using the streaming interface of Twitter4J and it works great. Now I've added my first RESTful call:
- TwitterStream g_twitter = new TwitterStreamFactory().getInstance();
- ...
- void doInitialSearch() {
- Query query = new Query("processing");
- QueryResult result = g_twitter.search(query);
- for (Tweet tweet : result.getTweets()) {
- g_memoryTextFactory.intern(tweet.getText());
- }
- }
but Processing is flagging line 5 with "The function search(Query) does not exist". I know that g_twitter is properly set up (I've been doing calls with it before and after this code). I can see twitter4j-core-2.2.6.jar in my code/ sub-directory.
What am I missing?
1