예제 #1
0
        static void Main(string[] args)
        {
            TwitterClient client = new TwitterClient();

            Console.WriteLine(client.GetTimelineTweets().First().Value);
            var status = Console.ReadLine();

            client.Tweet(status);
        }
        private void Page_Load(object sender, EventArgs e)
        {
            // Put user code to initialize the page here
            TwitterClient client = new TwitterClient();

            string text = "";

            var tweets = client.GetTimelineTweets();

            tweets.ForEach(x => text += "<p>Tweet from: " + x.Key + " with message: " + x.Value + "</p>");

            litTweets.Text = text;
        }