public string SendMessage(Credentials credentials, string message)
        {
            var twit = new Twitter();
            twit.TwitterClient = "Unite";
            twit.TwitterClientUrl = "http://github.com/jcbozonier/irontwit/tree/master";
            twit.TwitterClientVersion = "0.1";

            var result = twit.UpdateAsJSON(credentials.UserName, credentials.Password, message);
            return result;
        }
Beispiel #2
0
        public string SendMessage(string message)
        {
            var twit = new Twitter
                           {
                               TwitterClient = "Unite",
                               TwitterClientUrl = "http://github.com/jcbozonier/irontwit/tree/master",
                               TwitterClientVersion = "0.1"
                           };

            var result = twit.UpdateAsJSON("JudgingTwit", "110001", message);
            return result;
        }