Changeset 18427 for lang/csharp

Show
Ignore:
Timestamp:
08/29/08 16:18:17 (3 months ago)
Author:
poolmmjp
Message:

Twitterへの投稿時、sourceを送るようにした

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/csharp/MMMMB/MMMMB/MiniBlogs/Twitter.cs

    r13980 r18427  
    7979            WebClient client = new WebClient(); 
    8080            client.Headers.Add("Authorization", "Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes(username + ":" + password))); 
    81             client.UploadString("http://twitter.com/statuses/update.xml", "POST", "status=" + Uri.EscapeUriString(message)); 
     81            client.UploadString("http://twitter.com/statuses/update.xml", "POST", "source=MMMMB&status=" + Uri.EscapeUriString(message)); 
    8282            Thread.Sleep(2000); // �x���΍�       } 
    8383