Exemple #1
0
        public ActionResult TwitterFeed()
        {
            var currentTweets = _twitterHelper.GetTwitterService().ListTweetsOnUserTimeline(new ListTweetsOnUserTimelineOptions
            {
                ScreenName = _twitterHelper.ScreenName,
                Count      = int.Parse(_twitterHelper.NoOfFeeds),
            });


            ViewData["tweets"] = currentTweets;

            return(View());
        }