<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dimebrain &#187; tweetsharp</title>
	<atom:link href="http://dimebrain.com/tag/tweetsharp/feed" rel="self" type="application/rss+xml" />
	<link>http://dimebrain.com</link>
	<description>We help .NET web developers create awesome services.</description>
	<lastBuildDate>Thu, 21 Jan 2010 03:12:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introducing tweet#, the complete fluent C# library for Twitter</title>
		<link>http://dimebrain.com/2009/01/introducing-tweet-the-complete-fluent-c-library-for-twitter.html</link>
		<comments>http://dimebrain.com/2009/01/introducing-tweet-the-complete-fluent-c-library-for-twitter.html#comments</comments>
		<pubDate>Sat, 10 Jan 2009 09:21:00 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[tweetsharp]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://dimebrain.com/?p=400</guid>
		<description><![CDATA[<p>tweet# is a complete C# library for Twitter that allows you to write short and sweet expressions that are automatically converted to Twitter queries and sent on your behalf. In addition to covering 100% of Twitter&#8217;s REST and Search APIs, tweet# also provides the following configurable features:</p>
<ul>
<li>Discoverable method chains that only expose what you can actually call</li>
<li>Hooks for easy asynchronous operation</li>
<li>Status update truncation by word, and automated URL shortening</li>
<li>Server-side caching of queries (ASP.NET, memcached, or use your own)</li>
<li>Quick and painless conversion from JSON query results to C# data classes</li>
</ul>
<p>Here are just a few examples to show you what&#8217;s possible&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>tweet# is a complete C# library for Twitter that allows you to write short and sweet expressions that are automatically converted to Twitter queries and sent on your behalf. In addition to covering 100% of Twitter&#8217;s REST and Search APIs, tweet# also provides the following configurable features:</p>
<ul>
<li>Discoverable method chains that only expose what you can actually call</li>
<li>Hooks for easy asynchronous operation</li>
<li>Status update truncation by word, and automated URL shortening</li>
<li>Server-side caching of queries (ASP.NET, memcached, or use your own)</li>
<li>Quick and painless conversion from JSON query results to C# data classes</li>
</ul>
<p>Here are just a few examples to show you what&#8217;s possible with tweet#:</p>
<pre name="code" class="csharp:nogutter">
// Get the public timeline, caching the result for two minutes
var twitter = FluentTwitter.CreateRequest()
     .Configuration.CacheUntil(2.Minutes().FromNow())
     .Statuses().OnPublicTimeline().AsJson();

// Send a blocking call
var response = twitter.Request();

// Convert response to data classes
var statuses = response.AsStatuses();
</pre>
<p>With plans to support <a href="http://oauth.net" target="_blank">OAuth</a>, selectors, rate limiting, and geocoding enhancements, tweet# should accelerate your Twitter client development.</p>
<pre name="code" class="csharp:nogutter">
// Send a status update with automatic URL shortening
var twitter = FluentTwitter.CreateRequest()
     .Configuration.UseUrlShortening()
     .AuthenticateAs(username, password)
     .Statuses().Update("http://code.google.com/p/tweetsharp")
     .CallbackTo((s, e) =>
                     {
                          // do stuff asynchronously...
                          var updated = e.Response.AsStatus();
                     }.AsXml();

// Send an asynchronous call
twitter.RequestAsync();
</pre>
<p>Feedback on design, features, and issues is greatly appreciated. The best way to get acquainted with tweet# syntax and style, currently, is to download the code or browse the unit tests.</p>
<p>I hope you find it useful!</p>
<p>Project code is hosted by Google Code:<br />
<a title="tweetsharp" href="http://code.google.com/p/tweetsharp" target="_blank">http://code.google.com/p/tweetsharp</a></p>
<p><em>tweet# uses James Newton-King&#8217;s <a title="JSON.NET" href="http://james.newtonking.com/pages/json-net.aspx" target="_blank">JSON.NET</a>, the <a href="http://www.codeplex.com/EnyimMemcached">Enyim Memcached Client</a>, and would like to thank Sean Erickson for his assistance with multi-part form posts.</em></p>
<p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdimebrain.com%2f2009%2f01%2fintroducing-tweet-the-complete-fluent-c-library-for-twitter.html"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdimebrain.com%2f2009%2f01%2fintroducing-tweet-the-complete-fluent-c-library-for-twitter.html&#038;bgcolor=FF9933&#038;cbgcolor=FFFFCC" border="0" alt="kick it on DotNetKicks.com" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dimebrain.com/2009/01/introducing-tweet-the-complete-fluent-c-library-for-twitter.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
