I have an application which fetches Twitter posts using a FilterQuery object (Twitter4j). It is possible to set properties as the keywords and the language of the wanted posts in this way:
FilterQuery query = new FilterQuery().track(keyWords);
query.language("en");
TwitterStream twitterStream.filter(query);
What if I wanted to pass an array of languages like String [] lang = {"en", "fr", "es", "it"}
instead of just passing a single language?
Is it possible?
PS: I have already checked this question, but it just works around the problem.
Thanks in advance.
It is possible to add several parameters by adding them between ""
and separating them by commas. It works.