protected void Page_PreRender(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(TwitterScreenName))
            {
                TwitterScreenName = AppSettings.TwitterScreenName;
            }

            if (!TwitterScreenName.Contains("["))
            {
                var twitterHelper = new TwitterHelper(AppSettings.TwitterApiConsumerKey, AppSettings.TwitterApiConsumerSecret, AppSettings.TwitterApiAccessToken, AppSettings.TwitterApiAccessTokenSecret);
                var tweets        = twitterHelper.GetTweetsByScreenName(TwitterScreenName, NumberOfItems);

                ItemsList.DataSource = tweets;
                ItemsList.DataBind();
            }
        }
 public void GetTweetsByScreenName(string ScreenName, int NumberOfTweets = 2)
 {
     WriteJSON(twitterHelper.GetTweetsByScreenName(ScreenName, NumberOfTweets, true));
 }