コード例 #1
0
        private void followerTimeline()
        {
            userTLView.Visibility = Visibility.Visible;;

            if (tokens != null)

            {
                //this.userTLView.Items.Clear();

                userPro2 = new List <TweetClass.UserInfo>();
                var data = new Tweets();
                try

                {
                    // var showedUser = tokens.Favorites.List(screen_name => ScreenName, count => 200);

                    foreach (var status in tokens.Followers.List(screen_name => ScreenName, count => 200))

                    {
                        data.AddInfo(userPro2, status);
                    }
                    this.userTLView.ItemsSource = userPro2;
                }

                catch (Exception ex)

                {
                }
            }
        }
コード例 #2
0
        private void mutelist()
        {
            userPro = new List <TweetClass.UserInfo>();
            foreach (var status in tokens.Mutes.Users.List())

            {
                data.AddInfo(userPro, status);
            }
            this.muteList.ItemsSource = userPro;
        }