/** * This will get the UserResources * * @param keyWord * @return */ public List<User> getUserResource(String keyWord) { List<User> listOfUser = null; // twitter. try { listOfUser = twitter.users().lookupUsers(keyWord); } catch (TwitterException e) { LOGGER.error("Cant get the list of user based on key: " + keyWord); } return listOfUser; }