/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="config">Configuration for this adapter</param>
        public TwitterInput(TwitterConfig config)
        {
            _config = config;
            this._twitterStreaming = new TwitterStreaming(config);

            this._sentimentService = new Sentiment140();
            //this._sentimentService = new ViralheatSentiment(
            //        config.SentimentJsonURL,
            //        config.SentimentQuotaURL,
            //        config.SentimentApiKey,
            //        config.SentimentProbThreshold);
        }
 public TwitterStreaming(TwitterConfig config)
 {
     this._config = config;
 }
Пример #3
0
 public TwitterStreaming(TwitterConfig config)
 {
     this._config = config;
 }