示例#1
0
文件: TweetStack.cs 项目: zahndy/o3o
        public TweetStack(UserDatabase.User OAuth)
        {
            privOAuth = OAuth;
            Twitter = new TwitterInteraction(privOAuth);
            //and attempt to load the keys from setting
            //If that gone well, and streaming tweets were requested, try initialize streaming tweets.

            Twitterizer.Streaming.StreamOptions Streamopts = new Twitterizer.Streaming.StreamOptions();
            Streamopts.UseCompression = false;
            Streamopts.Count = 0;
            StartStream(Streamopts);
        }
示例#2
0
        public TweetStack(UserDatabase.User OAuth)
        {
            privOAuth = OAuth;
            Twitter   = new TwitterInteraction(privOAuth);
            //and attempt to load the keys from setting
            //If that gone well, and streaming tweets were requested, try initialize streaming tweets.

            Twitterizer.Streaming.StreamOptions Streamopts = new Twitterizer.Streaming.StreamOptions();
            Streamopts.UseCompression = false;
            Streamopts.Count          = 0;
            StartStream(Streamopts);
        }