fix bugs in collectTweets and listFriends for a list of user ids