Beispiel #1
0
 public void StartProcessOfGettingTweetId(object ac)
 {
     TwitterDataScrapper tweetScrapper = new TwitterDataScrapper();
     //TwitterDataScrapper.logEvents.addToLogger += new EventHandler(retweetOfUrl_logEvents_addToLogger);
     //tweetScrapper.noOfRecords = ((int.Parse(txtCountFavoriteandRetweet.Text.Trim()) * TweetAccountContainer.dictionary_TweetAccount.Count));
     try
     {
         TwitterDataScrapper.noOfRecords = (int.Parse(txtCountFavoriteandRetweet.Text.Trim())) * TweetAccountContainer.dictionary_TweetAccount.Count;
         AddToLog_RetweetAndFavorite("[ " + DateTime.Now + " ] => [Getting Tweets  For KeyWord " + txt_TweetUrl.Text.Trim() + " ]");
         tweetScrapper.NewKeywordStructDataForOnlyTweet(txt_TweetUrl.Text.Trim());
     }
     catch (Exception ex)
     {
         GlobusFileHelper.AppendStringToTextfileNewLine("Error :- Mathod Name :- StartProcessOfGettingTweetId :- " + ex.Message, Globals.path_LogErrorFromRetweetAndFavorit);
     }
 }