Twitter Sort

Cheeky as hell:

Twitter Sort is a sorting algorithm that takes advantage of the Twitter API. You pass the script the numbers you would like sorted and it will tweet a request asking for somebody to sort them. When someone replies with a sorted version of the numbers, it will print them to the console and return.

Old Slang: Appreciating Webster’s with Bots

Peter Organisciak:

The medium of Twitter bot offers us the ability to shine a spotlight on the entries as individual entities; “hence, conspicuous public notice“. While it is certainly possible to look up all the words, perhaps dig through my Github account to find them, there is a different dynamic of attention with a tweet. Having @OldSlang drop another tweet in your timeline from time to time is not simply a slow-burn form of reading, but a different experience or appreciation.

I’m all over this.

Introducing Twitov

Twitov is a generative text bot that takes your Twitter history file and uses it to make new Tweets based on your own personality. It’s free, all you need is your Twitter history file.

Twitov is an Extra Future 6-hour project that ballooned into a week-long one. Whoops. Previous ExFu 6-hour Projects include Kove (a community-editable Choose Your Own Adventure Game), Liblr (Something like Mad Libs for Twitter), and Kreskin (An app that generates album covers for fictional bands based on real Flickr images, Wikipedia, and famous quotes).

Twitter Introduces Expanded Tweets

Embedded rich content on the web and official Twitter apps.

You’ve probably expanded Tweets before to play videos from YouTube or see photos from Instagram. Now, a diverse and growing group of new partners like the The Wall Street Journal, Breaking News, and TIME also deliver rich content inside Tweets containing a link to those websites.

Twitter is fast becoming an exercise on how to make money without being scumbags. Take note, Facebook.

Twitter Implements Do Not Track Privacy Option

Another big privacy / security win for Twitter. They’re using a new feature in Firefox called, appropriately, “Do Not Track“:

Do Not Track is a step toward putting you in control of the way your information is collected and used online. Do Not Track is a feature in Firefox that allows you to let a website know you would like to opt-out of third-party tracking for purposes including behavioral advertising. It does this by transmitting a Do Not Track HTTP header every time your data is requested from the Web.

Can anyone even imagine Facebook doing this? I hope this finds its way into WebKit. “Do Not Track” is also available as an option in Safari 5.2, which is available to developers right now. (thanks, Jesper)

Twitter Introduces the Innovator’s Patent Agreement

Good news on this Tuesday morning:

The IPA is a new way to do patent assignment that keeps control in the hands of engineers and designers. It is a commitment from Twitter to our employees that patents can only be used for defensive purposes. We will not use the patents from employees’ inventions in offensive litigation without their permission. What’s more, this control flows with the patents, so if we sold them to others, they could only use them as the inventor intended.

Software patents are a menace, but it’s understandable for companies to hoard them when the cost for not doing so could take down their entire business. This sounds like a pretty reasonable solution. For now.

A Comparative Analysis Of The Differing Approaches Twitter and Facebook Take To “Share” Buttons And What It Might Say, Philosophically Speaking, About Each As A Company

Visually, the “Share” and “Tweet” buttons are very similar, and are structured identically.

On the code-side, however, they are very much the product of two different companies with, I would argue, different outlooks on the web as a whole and HTML specifically.

Facebook’s “Share” Button

Share

There is no such thing as a share_url attribute in any published version of HTML. Facebook just made it up because they felt like it, and it was the easiest way for them to do what they wanted. They’re also mis-using the type attribute, here. type should be a mime-type string, as specified in the HTML documentation, not whatever random data you decide will be helpful.

It would be possible to see these as harmless and (possibly) clever hacks, but this is not a startup based in a garage, this is a billion-dollar company with hundreds of employees. Philosophically it speaks to Facebook’s general lack of regard for the internet as a whole: Facebook does what it wants, and you can go fuck yourself if it bugs you. In other words: Who has two thumbs, a $100 billion valuation, and doesn’t give a shit about your web standards pedantry? This guy.

Twitter’s “Tweet” Button

Twitter uses the HTML5 data attributes, which were created for specifically this purpose, which is embedding useful information in HTML without having to make up your own attributes. As a result, Twitter’s code is not only valid and logical, it’s ahead of the curve. Philosophically this says that Twitter considered the ramifications of this a bit more than Facebook has. This code will be embedded in millions of webpages, many of which will never be updated, so it matters in a big way that it be done right. Yes, the HTML5-style data attributes are a little bit too new for some people to get behind, but today isn’t the only thing that matters. Tomorrow is pretty important, too.

In total, what these buttons say about their companies is pretty simple: Twitter cares about being a good web citizen. Facebook? Not so much.


Update 28 October 2010: Changed conclusion text for clarity.

Compromising Twitter’s OAuth security system

Ryan Paul for Ars:

Twitter officially disabled Basic authentication this week, the final step in the company’s transition to mandatory OAuth authentication. Sadly, Twitter’s extremely poor implementation of the OAuth standard offers a textbook example of how to do it wrong. This article will explore some of the problems with Twitter’s OAuth implementation and some potential pitfalls inherent to the standard. I will also show you how I managed to compromise the secret OAuth key in Twitter’s very own official client application for Android.

via Schneier

“Twitter isn’t your audience. It’s your community.”

Andrew Mayne for Hidden Frequency:

[…] It’s easy to tell the difference: The guy on stage at the concert is in front of his audience. The people in the stands are in their community. When the concert is over the audience vanishes but the community continues; with or without the man on stage.

The stage metaphor is a bit strained, but this is similar to my own philosophy on Twitter and other social media sites. Unless you have millions of followers, treating Twitter like a broadcast medium means you miss most of what it’s good for.