Beispiel #1
0
        private static void UpdateTweetSink(AccountInfo info, string text, long? inReplyToId = null)
        {
            var status = info.UpdateStatus(text, inReplyToId);
            if (status == null || status.Id == 0)
                throw new WebException("Timeout or failure sending tweet.", WebExceptionStatus.Timeout);

            TweetStorage.Register(status);
            NotifyStorage.Notify("ツイートしました:@" + info.ScreenName + ": " + text);
        }