I followed the Quickstart from HBC and I managed to get some tweets from the Twitter Stream specifying some track terms, here is the code:
/** Declare the host you want to connect to, the endpoint, and authentication (basic auth or oauth) */
Hosts hosebirdHosts = new HttpHosts(Constants.STREAM_HOST);
StreamingEndpoint endpoint = new StatusesFilterEndpoint();
// Optional: set up some followings and track terms
List<Long> followings = Lists.newArrayList(1234L, 566788L);
List<String> terms = Lists.newArrayList("twitter", "api");
endpoint.followings(followings);
endpoint.trackTerms(terms);
Is it possible to get the twitter Stream with Hbc without specifying any track terms?
I simply tried to remove the line "endpoint.trackTerms(terms);" but doing so it doesn't work.
Help me! Thanks!