예제 #1
0
        private static void AddMemberRangeToListWithUserIDsDemo(TwitterContext twitterCtx)
        {
            var userIds = new List<ulong>
            {
                15411837,
                16761255
            };

            List list = twitterCtx.AddMemberRangeToList(null, "test", null, "Linq2Tweeter", userIds);

            foreach (var user in list.Users)
            {
                Console.WriteLine(user.Name);
            }
        }
예제 #2
0
        private static void AddMemberRangeToListWithScreenNamesDemo(TwitterContext twitterCtx)
        {
            var screenNames = new List<string>
            {
                "JoeMayo",
                "Linq2Tweeter"
            };

            List list = twitterCtx.AddMemberRangeToList(null, "linq", null, "Linq2Tweeter", screenNames);

            foreach (var user in list.Users)
            {
                Console.WriteLine(user.Name);
            }
        }