Esempio n. 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);
            }
        }
Esempio n. 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);
            }
        }