|
Project Information
Featured
Downloads
Links
|
TwitterN is a yet another c# version of the twitter api. It uses json, wcf datacontracts, generics, and c# 3.0 to create a cleaner code base. 07/27/08: The second initial release is out, includes changes to the api
stage: alpha/prototyping. Things to note:
using Amplify.Twitter;
using System.Security;
// ... stuff
public void Test()
{
try {
string temp = "password";
Twitter.SetCredentials("Username", temp);
StatusClient client = Twitter.CreateStatusClient();
// or StatusClient client = new StatusClient("Username", temp);
Status[] tweets = service.GetUserTimeline();
} catch (TwitterException ex) {
Log.Write(ex.ToString()); // write the twitter rest error.
}
}
|