Every two minutes, search with a random keyword from for 100 posts, randomly select one post from the result and get its user id. For each keyword, there is a array containing 10 corresponding emoji-s. For a post, post a string consisting of "@_userid _emoji + Meow~".
This bot can be extended. For example, if one cycle searched with keyword "sad", the bot can post to the user whose post was selected with a happy emoji.
Currently I don't know how to get the user id from one post of a tweeter object, so the tweet to certain user function is still not functioning.
Tweeter t1;
String[] crtid;
String[] query = new String[4];
String[] sad = new String[10];
String[] angry = new String[10];
String[] happy = new String[10];
String[] yeah = new String[10];
String userpostto;
String crtemoji;
String crtpost;
int crtusernumber;
int crt = 0;
int namelistlength = 0;
int crtuser = 0;