My favorites | Sign in
Project Logo
                
Code license: MIT License
Labels: CSharp, .Net, Twitter, WCF, Json, CSharp, Api
Blogs:
Feeds:
People details
Project owners:
  mhern...@opensourceconnections.com, ashish.tonse
Project committers:
mikelor

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. 
	}

}








Hosted by Google Code