System.out.println("Usage: java twitter4j.examples.list.DeleteUserListMember [list id] [user id]");
System.exit(-1);
}
try {
Twitter twitter = new TwitterFactory().getInstance();
twitter.destroyUserListMember(Integer.parseInt(args[0]), Integer.parseInt(args[1]));
System.out.println("Successfully deleted user [" + args[1] + "] from the list.");
System.exit(0);
} catch (TwitterException te) {
te.printStackTrace();
System.out.println("Failed to delete user: " + te.getMessage());