twitter information question
in
Contributed Library Questions
•
2 years ago
How do you add the near constraint to romefeeder's advanceTweet query?
- static final String ANDS = "master";
- static final String LANG = "en";
- static final boolean QUESTION = true;
- static final String NOTS = "thesis";
- static final String NEAR = "manhattan";
- static final int RPP = 50;
- //setup and query the search
- feeder.all(ANDS); //get tweets with the word master
- feeder.not(NOTS); //exclude the tweets with the word thesis
- feeder.lang(LANG); //get only tweets in english
- feeder.question(QUESTION); //get tweets that are ot have questions
- feeder.near(NEAR);
- feeder.rpp(RPP); //get 50 tweets at a time
- feeder.search();
1