Example #1
0
        public static void Tweetit()
        {
            var message = maneger.GetMessageToTweet();

            Twitter.sendTweet(message.Message);
            Console.WriteLine(message.Message);
            Console.WriteLine(message.DateLastUsed);
            Console.ReadKey();
        }
Example #2
0
        public string Post()
        {
            DatabaseManeger        db      = new DatabaseManeger();
            IShitterTwitterMessage message = db.GetMessageToTweet();

            TwitterManeger tm = new TwitterManeger();

            tm.sendTweet(message.Message);


            return(message.Message);
        }