/* * Follows the specified user, returning true in case of success. * If error, returns false. */ public boolean doFollow(long user) { try { twitter.friendsFollowers().createFriendship(user); return true; } catch (Exception ex) { System.err.println("[ERROR] Can't follow " + user); ex.printStackTrace(); return false; } }