<?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>John Sheehan : Blog &#187; Twitter</title>
	<atom:link href="http://john-sheehan.com/blog/index.php/category/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://john-sheehan.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 30 Aug 2010 22:13:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>@dotnetlinks, @dotnetpodcasts and @dotnetvideos</title>
		<link>http://john-sheehan.com/blog/dotnetlinks-dotnetpodcasts-and-dotnetvideos/</link>
		<comments>http://john-sheehan.com/blog/dotnetlinks-dotnetpodcasts-and-dotnetvideos/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 22:38:04 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Managed Assembly]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://john-sheehan.com/blog/dotnetlinks-dotnetpodcasts-and-dotnetvideos/</guid>
		<description><![CDATA[A few months back I started a Twitter account called @dotnetlinks to share the most recent interesting links that I came across. It was a combination of my submissions to ManagedAssembly and a couple other ad-hoc submissions I made via Delicious. The response has been good so far. Today a couple folks on Twitter were [...]]]></description>
			<content:encoded><![CDATA[<p>A few months back I started a Twitter account called <a href="http://twitter.com/dotnetlinks" target="_blank">@dotnetlinks</a> to share the most recent interesting links that I came across. It was a combination of my submissions to <a href="http://managedassembly.com/" target="_blank">ManagedAssembly</a> and a couple other ad-hoc submissions I made via Delicious. The response has been good so far. Today a couple folks on Twitter were looking for a tech video aggregator and I thought that a .NET-specific one would be a good feature for ManagedAssembly. If you&#8217;ll recall, in my <a href="http://www.asp.net">www.asp.net</a> series I mentioned a a similar idea for a podcast directory as well. I haven&#8217;t built those yet, but as a start I&#8217;ve created <a href="http://twitter.com/dotnetvideos" target="_blank">@dotnetvideos</a> and <a href="http://twitter.com/dotnetpodcasts" target="_blank">@dotnetpodcasts</a> that I&#8217;ll start feeding with content as I come across it.</p>
<p>For <a href="http://twitter.com/dotnetlinks" target="_blank">@dotnetlinks</a>, I don&#8217;t post every link I come across. I try to pick the cream of the crop to provide a higher signal-to-noise ratio. For videos and podcasts that won&#8217;t be as easy to do since I don&#8217;t have time to watch/listen to them all. We&#8217;ll see how it goes. It would be cool to integrate those feeds with an aggregator on ManagedAssembly to help promote the quality videos/podcasts and ignore the bad ones.</p>
<p>Give them a follow and if you have any ideas or feedback, <a href="http://twitter.com/johnsheehan" target="_blank">let me know what you think</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://john-sheehan.com/blog/dotnetlinks-dotnetpodcasts-and-dotnetvideos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Web Service APIs in Your Apps (Twin Cities .NET User Group Talk Video)</title>
		<link>http://john-sheehan.com/blog/using-web-service-apis-in-your-apps-video/</link>
		<comments>http://john-sheehan.com/blog/using-web-service-apis-in-your-apps-video/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 23:44:33 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[RestSharp]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://john-sheehan.com/blog/?p=213</guid>
		<description><![CDATA[On November 5th I gave a talk at the Twin Cities .NET User Group entitled &#8216;Using web service APIs in your applications&#8217;. I started out with a very brief overview of how REST APIs work and then talked about the current state of using REST APIs in .NET. I followed that up with a demonstration [...]]]></description>
			<content:encoded><![CDATA[<p>On November 5th I gave a talk at the <a href="http://www.tcdnug.com" target="_blank">Twin Cities .NET User Group</a> entitled &#8216;Using web service APIs in your applications&#8217;. I started out with a <em>very </em>brief overview of how REST APIs work and then talked about the current state of using REST APIs in .NET. I followed that up with a demonstration of a new OSS project I&#8217;m working on for making accessing REST APIs much easier. The project is called <a href="http://twitter.com/RestSharp" target="_blank">RestSharp</a> but in the talk I refer to it as Stillwater as that was my working name for it prior to coming up with the final name.</p>
<p>Next I put <a href="http://restsharp.org" target="_blank">RestSharp</a> to use by writing a Twitter search bot that runs as an Azure worker role searching for mentions of a search term and then creating <a href="http://www.fogbugz.com" target="_blank">FogBugz</a> tasks from the results. Then I demonstrated using <a href="http://twilio.com" target="_blank">Twilio</a> to receive phone calls (utilizing ASP.NET MVC) and create FogBugz cases from those incoming phone calls. And lastly I demonstrated how to use RestSharp with Twilio&#8217;s REST API to initiate an outgoing phone call from a .NET app.</p>
<p>This was my first formal technical presentation (I gave one at jQuery Conference, but that was much more informal) and you can tell early on in the video. Stick with it however, things smooth out as they go along. Also, the audio is a little tinny with some minor background noise, but it&#8217;s not unbearable.</p>
<p>I&#8217;ll be posting more about RestSharp/Stillwater soon as I get closer to launching it. You can follow <a href="http://twitter.com/RestSharp" target="_blank">@RestSharp on Twitter</a>, <a href="http://github.com/johnsheehan/RestSharp" target="_blank">follow the project on GitHub</a> or <a href="http://restsharp.org" target="_blank">visit the official site</a> (nothing there yet though).</p>
<p><strong><a href="http://johnsheehan-screencasts.s3.amazonaws.com/tcdnug/tcdnug.html" target="_blank">Watch the Video (49:25)</a></strong>     <br />Download (right click, save as): <a href="http://johnsheehan-screencasts.s3.amazonaws.com/tcdnug/tcdnug.mp4" target="_blank">MP4 (103MB)</a> | <a href="http://johnsheehan-screencasts.s3.amazonaws.com/tcdnug/tcdnug.wmv" target="_blank">WMV (135MB)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://john-sheehan.com/blog/using-web-service-apis-in-your-apps-video/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
<enclosure url="http://johnsheehan-screencasts.s3.amazonaws.com/tcdnug/tcdnug.wmv" length="142283319" type="video/x-ms-wmv" />
<enclosure url="http://johnsheehan-screencasts.s3.amazonaws.com/tcdnug/tcdnug.mp4" length="108718281" type="video/mp4" />
		</item>
		<item>
		<title>Twitter Utility: Is @X following @Y?</title>
		<link>http://john-sheehan.com/blog/twitter-utility-is-x-following-y/</link>
		<comments>http://john-sheehan.com/blog/twitter-utility-is-x-following-y/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 01:59:52 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://john-sheehan.com/blog/twitter-utility-is-x-following-y/</guid>
		<description><![CDATA[Occasionally I come across a situation where it would be interesting to know if a certain Twitter user is following some other Twitter user. I couldn’t find the right combo of search terms to find such a thing via Google or Bing, so I thought I’d just make one. Thanks to TweetSharp, it was incredibly [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally I come across a situation where it would be interesting to know if a certain Twitter user is following some other Twitter user. I couldn’t find the right combo of search terms to find such a thing via Google or Bing, so <a href="http://managedassembly.com/twitter/check" target="_blank">I thought I’d just make one</a>. Thanks to <a href="http://tweetsharp.com" target="_blank">TweetSharp</a>, it was incredibly easy. Here’s the ASP.NET MVC Controller code:</p>
<div style="font-family: consolas, courier new; background: black; color: white; font-size: 9pt; overflow: auto">
<pre style="margin: 0px">[<span style="color: #ffc66d; font-weight: bold">AcceptVerbs</span>(<span style="color: #6897bb">HttpVerbs</span>.Get)]</pre>
<pre style="margin: 0px"><span style="color: #cc7832; font-weight: bold">public</span> <span style="color: #ffc66d; font-weight: bold">ActionResult</span> Check() {</pre>
<pre style="margin: 0px">&#160;&#160;&#160; <span style="color: #cc7832; font-weight: bold">return</span> View();</pre>
<pre style="margin: 0px">}</pre>
<pre style="margin: 0px">&#160;</pre>
<pre style="margin: 0px">[<span style="color: #ffc66d; font-weight: bold">AcceptVerbs</span>(<span style="color: #6897bb">HttpVerbs</span>.Post)]</pre>
<pre style="margin: 0px"><span style="color: #cc7832; font-weight: bold">public</span> <span style="color: #ffc66d; font-weight: bold">ActionResult</span> Check(<span style="color: #cc7832; font-weight: bold">string</span> follower, <span style="color: #cc7832; font-weight: bold">string</span> target) {</pre>
<pre style="margin: 0px">&#160;&#160;&#160; <span style="color: #cc7832; font-weight: bold">string</span> response = <span style="color: #ffc66d; font-weight: bold">FluentTwitter</span>.CreateRequest()</pre>
<pre style="margin: 0px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .Friendships().Verify(follower).IsFriendsWith(target)</pre>
<pre style="margin: 0px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .Request();</pre>
<pre style="margin: 0px">&#160;</pre>
<pre style="margin: 0px">&#160;&#160;&#160; response = <span style="color: #ffc66d; font-weight: bold">Regex</span>.Replace(response, <span style="color: red">@&quot;&lt;\/?friends&gt;&quot;</span>, <span style="color: #a5c25c; font-weight: bold">&quot;&quot;</span>);</pre>
<pre style="margin: 0px">&#160;</pre>
<pre style="margin: 0px">&#160;&#160;&#160; <span style="color: #cc7832; font-weight: bold">bool</span> following = <span style="color: #cc7832; font-weight: bold">false</span>;</pre>
<pre style="margin: 0px">&#160;&#160;&#160; <span style="color: #cc7832; font-weight: bold">bool</span>.TryParse(response, <span style="color: #cc7832; font-weight: bold">out</span> following);</pre>
<pre style="margin: 0px">&#160;</pre>
<pre style="margin: 0px">&#160;&#160;&#160; <span style="color: #cc7832; font-weight: bold">return</span> Json(<span style="color: #cc7832; font-weight: bold">new</span> { result = following });</pre>
<pre style="margin: 0px">}</pre>
</div>
<p>The view is a simple <a href="http://sparkviewengine.com" target="_blank">Spark</a> file with some jQuery that posts to the Check() method above and displays the appropriate result based on the JSON returned.</p>
<p><a href="http://managedassembly.com/twitter/check" target="_blank">Check it out</a> and let me know what you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://john-sheehan.com/blog/twitter-utility-is-x-following-y/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
