Exemple #1
0
        static void PostTweet_Typed()
        {
            // Insert GUID because Twitter denies access to identical tweets
            string       message = "A typed tweet from the Ramone client [" + Guid.NewGuid() + "]";
            StatusUpdate update  = new StatusUpdate {
                status = message
            };

            Session.Bind(TwitterApi.StatusesUpdate, update).Post();
            Console.WriteLine("Posted update using typed object parameters.");
        }
Exemple #2
0
 static void PostTweet_Typed()
 {
     // Insert GUID because Twitter denies access to identical tweets
       string message = "A typed tweet from the Ramone client [" + Guid.NewGuid() + "]";
       StatusUpdate update = new StatusUpdate { status = message };
       Session.Bind(TwitterApi.StatusesUpdate, update).Post();
       Console.WriteLine("Posted update using typed object parameters.");
 }