<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>MettaProgramming &#187; API</title>
	<atom:link href="http://mettadore.com/tag/api/feed/" rel="self" type="application/rss+xml" />
	<link>http://mettadore.com</link>
	<description>Thoughts on Software and Technology</description>
	<lastBuildDate>Fri, 03 Feb 2012 17:39:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>The @TwitterAPI kids say &#8220;size doesn&#8217;t matter&#8221;</title>
		<link>http://mettadore.com/analysis/the-twitterapi-kids-say-size-doesnt-matter/</link>
		<comments>http://mettadore.com/analysis/the-twitterapi-kids-say-size-doesnt-matter/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 00:30:38 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Miscellany]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[metrics]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[url shortener]]></category>

		<guid isPermaLink="false">http://mettadore.com/?p=406</guid>
		<description><![CDATA[It looks like the folks on the Twitter API team have built their own URL shortener and will soon wrap all URLs to protect against fishing and collect stats: Additionally, as we mentioned at our Chirp developer conference in April, if you want to share a link through Twitter, there currently isn&#8217;t a way to [...]]]></description>
			<content:encoded><![CDATA[<p>It looks like the folks on the Twitter API team have <a href="http://blog.twitter.com/2010/06/links-and-twitter-length-shouldnt.html">built their own URL shortener</a> and will soon wrap all URLs to protect against fishing and collect stats:</p>
<blockquote><p>Additionally, as we mentioned at our Chirp developer conference in  April, if you want to share a link through Twitter, there currently  isn&#8217;t a way to automatically shorten it and we want to fix this. It  should be easy for people to share shortened links from the Tweet box on  Twitter.com.</p>
<p>To meet both of these goals, we&#8217;re taking small  steps to expand the link service currently available in Direct Messages  to links shared through all Tweets. We&#8217;re testing this link service now  with a few Twitter employee accounts.</p></blockquote>
<p>The title of this post is what I find most interesting: &#8220;Links and Twitter: Length Shouldn&#8217;t Matter.&#8221; It harkens back to the old saying &#8220;it&#8217;s not the size of your wand that counts, it&#8217;s the magic you can perform with it.&#8221;<sup><a href="http://mettadore.com/analysis/the-twitterapi-kids-say-size-doesnt-matter/#footnote_0_406" id="identifier_0_406" class="footnote-link footnote-identifier-link" title="We&amp;#8217;ll leave out the joking about who says that&hellip; but it&amp;#8217;s not my wife!   ">1</a></sup></p>
<p>In this case, it <em>is</em> the magic. I ran a URL shortener for a while, mostly as an experiment, and the thing that makes them great is the stats and pre- and post-processing you can perform on the URLs. They could get those links if they wanted to. Twitter already has every link we send to them in their database&#8211; their  in the status messages after all&#8211; but this is subtly different.</p>
<p>Just like with any URL shortener, someone will hit http://t.co/y4d4 and be instantly redirected to the shortened URL. But prior to that redirect, Twitter can filter phishing attempts or scams (effectively nullifying any attempt). More importantly, hits on that URL will be tracked, just like bit.ly tracks stats on URLs so that you know how many people clicked the link to the latest photo of Sarah Palin in a mini-skirt.</p>
<p>And there&#8217;s the magic.<sup><a href="http://mettadore.com/analysis/the-twitterapi-kids-say-size-doesnt-matter/#footnote_1_406" id="identifier_1_406" class="footnote-link footnote-identifier-link" title="no, not Sarah Palin&amp;#8217;s legs! (though they are&hellip; nevermind) ">2</a></sup></p>
<p>There&#8217;s a lot of data going through Twitter, and building a system that effectively injects links and stats <em>directly</em> into a database is sauce.<sup><a href="http://mettadore.com/analysis/the-twitterapi-kids-say-size-doesnt-matter/#footnote_2_406" id="identifier_2_406" class="footnote-link footnote-identifier-link" title="Spicy sauce, as spicy as Sarah Palin&amp;#8217;s&amp;#8211; nevermind.">3</a></sup> It not only allows them to say &#8220;That&#8217;s a link to a Nigerian phishing scam,&#8221; it allows them to say &#8220;Hey, New York Times, we have a record of 75 thousand visitors per hour to your article on Sarah Palin&#8217;s legs… you wanna talk about a strategic partnership?&#8221;</p>
<p>See? Magic.</p>
<p>Who said Twitter didn&#8217;t have a monetization strategy?</p>
<ol class="footnotes"><li id="footnote_0_406" class="footnote">We&#8217;ll leave out the joking about <em>who</em> says that… but it&#8217;s not <em>my</em> wife! <img src='http://mettadore.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </li><li id="footnote_1_406" class="footnote">no, not Sarah Palin&#8217;s legs! (though they are… nevermind) </li><li id="footnote_2_406" class="footnote">Spicy sauce, as spicy as Sarah Palin&#8217;s&#8211; nevermind.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://mettadore.com/analysis/the-twitterapi-kids-say-size-doesnt-matter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pivotal Tracker gets better with Github, Get Satisfaction, and more!</title>
		<link>http://mettadore.com/analysis/pivotal-tracker-gets-better-with-github-get-satisfaction-and-more/</link>
		<comments>http://mettadore.com/analysis/pivotal-tracker-gets-better-with-github-get-satisfaction-and-more/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 22:13:05 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Miscellany]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Github]]></category>
		<category><![CDATA[Pivotal Tracker]]></category>

		<guid isPermaLink="false">http://mettadore.com/?p=126</guid>
		<description><![CDATA[Pivotal Tracker does one thing: It Rocks. Last year when Morgan introduced me to this agile project management system, I was blown away. It&#8217;s a testament to the philosophy of &#8220;Do one single thing, and do it really freakin&#8217; well.&#8221; Now, they&#8217;ve gotten better with the release of version 3 of their API: This Pivotal [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pivotaltracker.com">Pivotal Tracker</a> does one thing: <em>It Rocks</em>. Last year when <a href="http://morganpdx.com">Morgan</a> introduced me to this agile project management system, I was blown away. It&#8217;s a testament to the philosophy of &#8220;Do one single thing, and do it really freakin&#8217; well.&#8221;</p>
<p>Now, they&#8217;ve gotten better with the release of <a href="http://pivotallabs.com/users/dan/blog/articles/1143-new-in-pivotal-tracker-api-v3-github-campfire-support-jira-lighthouse-and-satisfaction-integration#ixzz0df5qTzv4">version 3 of their API</a>:</p>
<blockquote><p>This <a href="http://www.pivotaltracker.com/">Pivotal Tracker</a> update allows you to see <a href="http://www.github.com/">GitHub</a> or other SCM commits in your stories, your project activity in your team&#8217;s <a href="http://www.campfirenow.com/">Campfire</a> chat room, and introduces the first wave of integrations with other bug/issue tracking applications including <a href="http://www.atlassian.com/software/jira/">JIRA</a>, <a href="http://www.lighthouseapp.com/">Lighthouse</a>, and <a href="http://www.getsatisfaction.com/">Satisfaction</a>.</p>
<p><span id="more-126"></span></p></blockquote>
<p>This update allows me to add a post-commit hook to my Github account by going to the Profile Page on Pivotal Tracker and creating a new API token, then going to the service hooks page of my Github Repository and adding the following line:</p>
<pre class="brush: xml; title: ; notranslate">

https://www.pivotaltracker.com/services/v3/github_commits?token=PIVOTAL_API_TOKEN
</pre>
<p>as a post-commit URL.</p>
<p>Now, say I have a story for my recent small Ruby on Rails secret learning project, and that story is #2288984. I can create a commit messages like so:</p>
<pre class="brush: bash; title: ; notranslate">

Ullr:tweetscore john$ git commit -a -m &quot;[#2289377] Add profile/login links back to main navigation&quot;
</pre>
<p>And that story will be started. I can finish a story by committing with the message:</p>
<pre class="brush: bash; title: ; notranslate">

Ullr:tweetscore john$ git commit -a -m &quot;[Fixes #2289377] Add profile/login links back to main navigation&quot;
</pre>
<p>The great thing about this, is that if you send &#8220;fixes&#8221; on a story that&#8217;s not started, it will start and finish it.h</p>
<p>I haven&#8217;t yet played with Get Satisfaction connectivity yet, and don&#8217;t use Campfire or Lighthouse, but this is enough to excite me. It makes a killer workflow.</p>
<p>Now, if only someone would create a Quicksilver plugin for Pivotal Tracker…</p>
]]></content:encoded>
			<wfw:commentRss>http://mettadore.com/analysis/pivotal-tracker-gets-better-with-github-get-satisfaction-and-more/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Twitter adds delegation to API via &#8220;contributors&#8221;</title>
		<link>http://mettadore.com/analysis/twitter-adds-delegation-to-api-via-contributors/</link>
		<comments>http://mettadore.com/analysis/twitter-adds-delegation-to-api-via-contributors/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:41:41 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Miscellany]]></category>
		<category><![CDATA[API]]></category>

		<guid isPermaLink="false">http://mettadore.com/?p=118</guid>
		<description><![CDATA[Over the past week, I&#8217;ve been building a somewhat comical, if complex, application in Rails. It&#8217;s a &#8220;contextual game&#8221; that&#8217;s still a bit secret (only because it&#8217;s still in very early development and pretty much always borked.) Today, while exploring the Twitter API and building out a more complex user model, I found an interesting [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past week, I&#8217;ve been building a somewhat comical, if complex, application in Rails. It&#8217;s a &#8220;contextual game&#8221; that&#8217;s still a bit secret (only because it&#8217;s still in very early development and pretty much always borked.)</p>
<p>Today, while exploring the Twitter API and building out a more complex user model, I found an interesting attribute called &#8220;contributors_enabled&#8221; that was set to false in my user account. I immediately got excited, because this could only mean one thing: Delegation.<span id="more-118"></span></p>
<p>I quickly ran over to the <a href="http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses%C2%A0show">Twitter API Wiki</a> to see if my dreams could be true, and sure enough:</p>
<blockquote>
<p style="border-width: 0px;margin: 0px;padding: 0px;font-weight: inherit;font-style: inherit;font-size: 13px;font-family: inherit;vertical-align: baseline;line-height: 1.5em;color: #434343"><strong>Contributors:</strong></p>
<ul style="border-width: 0px;margin: 0px 0px 0px 2em;padding: 0px;font-weight: inherit;font-style: inherit;font-size: 13px;font-family: inherit;vertical-align: baseline">
<li>If there are now contributors for a status, then there will be an empty <span style="border-width: 0px;margin: 0px;padding: 0px;font-weight: inherit;font-style: inherit;font-size: 13px;font-family: 'Courier New';vertical-align: baseline">&lt;contributors/&gt;</span> or <span style="border-width: 0px;margin: 0px;padding: 0px;font-weight: inherit;font-style: inherit;font-size: 13px;font-family: 'Courier New';vertical-align: baseline">&#8220;contributors&#8221;  :  {}</span>.  This field will only be populated if the user has contributors enabled on his or her account &#8212; this is a beta feature that is not yet generally available to all.</li>
<li>This object contains an array of user IDs for users who have contributed to this status (an example of a status that has been contributed to is <a href="http://twitter.com/twitterapi/status/7680619122" target="null">this one</a>).  In practice, there is usually only one ID in this array.  The XML  renders as such <span style="font-family: 'Courier New'">&lt;contributors&gt;&lt;user_id&gt;8285392&lt;/user_id&gt;&lt;/contributors&gt;</span>, and the JSON renders as such <span style="font-family: 'Courier New'">&#8220;contributors&#8221;:[8285392]</span>.</li>
</ul>
</blockquote>
<p>One of the problems with having a business or group Twitter account is that everyone has to check it and post to it, or ONE person has to do that (in which case, why have it). There&#8217;ve been any number of solutions to this problem, but they are all working around the fundamental lack of delegation.</p>
<p><img class="alignleft size-medium wp-image-120" src="http://mettadore.com/files/2010/01/Screen-shot-2010-01-25-at-8.09.27-AM-300x223.png" alt="Screen shot 2010-01-25 at 8.09.27 AM" width="300" height="223" />With email accounts, you can allow other people to send email <em>from</em> your account. This happens if, say, you&#8217;re a super important business person with a secretary… or if you&#8217;re less important, but need multiple people to send mail from a specific account.</p>
<p>Until now (or, rather, until &#8220;soon from now hopefully&#8221;) you haven&#8217;t been able to do that with Twitter. It looks like they are implementing that functionality, as is shown in <a href="http://twitter.com/twitterapi/status/7680619122">the example</a>.</p>
<p>This is good news for folks who have group accounts, like my own <a href="http://twitter.com/rubygorge">RubyGorge</a>, which would be aided by having multiple people allow contributions from that account. Way to go Twitter!</p>
]]></content:encoded>
			<wfw:commentRss>http://mettadore.com/analysis/twitter-adds-delegation-to-api-via-contributors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

