05401, 05403, 05446, 05462, 05482, 05673, 05701, 37signals, 40hz, 2008, 2010, aardman animations, ac propulsion, adium, ads, aim, airport, al franken, algorithm, amazon, andy hertzfeld, animation, apache, apple, applescript, architecture, archive, art, article id, asterisk, at&t, atom, automobile, away message, backpack, badge, barack obama, basecamp, bash, beos, bernie sanders, bicycling, bill atkinson, billboard, blacklisting, blog, blogroll, blogzot, bluetooth, blunt, bluray, book, bookmarklet, bot-net, brad bird, browser, btv, bug, build, bungie, bunny, burlington, call of duty, camera, camping, can-spam, cars, centralized, channel camp, chocolate, classic, classic mac workshop, clothing, cms, collection, color classic, comedy, comedy central, comic, computer, concert, conversion, cookbook, corrosion, cowards way out, crack, crashing, creature comforts, criticism, daring fireball, darwin, dashboard, david byrne, dcl, death, delicious, derbi, design, development, digg, dilemma, discussion, disney, domain, download, drivers, dvd, dynetk, e-mail, e3, easter, ebox, eckhart, eckhart köppen, eckhart koppen, eddie izzard, edward gorey, einstein, election, electric motorcycle, electric motorsport, electric vehicle, electronics research laboratory, elmo, emate, emulator, encryption, environment, environmental impact, erin mckeown, escale, exploit, express 530t, expressionengine, feature, feed, feedburner, filtering, finance, firmware, fixdavsvn, flickr, flynn center, focus, font, food, ford, for sale, free, freeverse, freezing, fresh air, frog design, front row, fusion, games, gears of war, geek, geek technique, geocities, gmail, google, gpr, grammar, grant hutchinson, graylisting, gtd, hack, haiku, halo, hayao miyazaki, health, higher ground, highrise, hiking, hiroshi noguchi, history, hope, hotspot, html, html5, hulu, humor, hybrid, hybrid technologies, hypercard, intel, internet, interview, ipad, iphone, ipod touch, isao takahata, itunes, jabber, japan, javascript, jetblue, jfk, john gruber, john oliver, jon stewart, kid koala, launchd, layover, leopard, liberal, long trail, lorem ipsum, mac, macbook pro, macpaint, macworld, maczot, magazine, mail, maine, makkintosshu, marathon, marketing, mark hoekstra, matthias melcher, media, mesagepad, messagepad, microbus, microsoft, mobileme, model s, modern warfare, money, monitoring, moon river, motorola, movie, movies, mrtg, multitasking, music, mwsf07, mystic, nascar, ncx, nda, netflix, network, newton, newton os, newton press, newtontalk, newton x press, nick park, nitch, npr, on point, openpbx, open source, operation ivy, optimization, organic, os 6, os 8, os9, osheaga, osx, os x, owc, package, palm, password, patch, paul guyot, pbx, pdf, pesticides, photography, pico card, pilot, pixar, playstation, plist, plug-in, pod jungle, politics, productivity, ps3, psp, pump-and-dump, quickdraw, quicksilver, racism, rack-n-roll, radio, ratatouille, rebooting, recycling, remake, required reading, restoration, retrochallenge, review, roadster, room without a window, rss, scion, screencast, script, search, security, server, sesame street, seven days, shame, shelburne, shelburne museum, shirt, shoppinging cart, signature, simon bell, small dog electronics, snow leopard, social, software, solution, sony, spam, spam haus, startup item, statistics, status, stefano paris, stephen colbert, steve jobs, steven colbert, steven frank, studio 360, studio ghibli, subethaedit, subversion, susan kare, swiss, sync, syndication, sysmon, tablet, tags, tax, technorati, ted talk, television, terry gross, tesla motors, textpattern, the colbert report, the daily show, the flaming lips, the gashleycrumb tinies, the radiator, the world, times argus, titles, tkip, todd kollins, tom gage, trailer, travel, tree, trends, troubleshooting, truetype, twitter, typography, tzero, unicel, unna, update, upgrade, url title, user interface, v710, venue, verizon wireless, vermont, victor rehorst, video, virtualization, vmware, volkswagen, volvo 122, vpr, vw, wait wait don't tell me, wall-e, wallace & gromit, wavelan, web, web 2.0, webkit, web site, whitepaper, wifi, wikipedia, windows, winter warm-up, wireless, wpa, writing, wwdc, wwnc, xbox 360, xbox live, xhtml, yahoo, ze frank, zero emission
Articles Tagged "twitter":
Twitter Statuses Badge V0.6.1 Released ¬
2010-05-27
As usual, a couple days after the latest release of my Twitter Statuses JavaScript Badge and I’ve already discovered important changes that need to be released. Unlike last time, I’m not going to wait another year.
It’s my pleasure to introduce Twitter Statuses JavaScript Badge v0.6.1.
There are only two changes in this release: clickable hashtag links (I don’t know how I missed that feature all these years) and tuned the JSON request to get smaller responses.
Drop me a line if you have any questions, comments, improvements, or feature requests.
Twitter Statuses Badge v0.6 Released ¬
2010-05-24
Just over a year ago (as my schedule seems to be) I released an update to my Twitter Statuses JavaScript Badge. Within two days I had further updates, including variables to override the name of the DIV element, hide the user’s icon, etc., ready to go, but I put it on the back burner as I was unhappy with the poor name-spacing.
About a month ago I rediscovered the postponed release, so this weekend I completely revamped my name-spacing. You know what that means? I better release v0.6 before I delay it again!
So, without further ado: Twitter Statuses JavaScript Badge v0.6
And the release notes are as follows:
Further namespacing improvements plus variables for defaults/settings. Re-implemented @reply filtering, limiting tweet count, and added changing of the element ID and disabling the icon.
This release really solidifies the base I’ve built up over the past few years and gives me something to build upon for the features I have in store.
Please let me know if you have any questions or feature requests.
Vehiculr.com for Sale ¬
2010-02-17
I dislike domain squatting and I didn’t use this domain as planned, so I’m selling vehiculr.com and its matching Google/Gmail & Twitter accounts. I’m only really looking to recover registration & listing fees, but a few extra dollars would certainly help.
Please help spread the word if you know anyone who might be interested.
Automating Countdown Tweets with Bash ¬
2009-11-02
Modern Warfare 2 will be out in a few days, so I felt @cowardswayout should count down to the release day. I could spend a few minutes at some point during each of the next few days—assuming I can remember to—posting a nearly-the-same message to Twitter or I could automate it. Yeah, better automate.
In trying to keep my bash-fu hightened, I tossed together the following bash script:
#!/bin/bash# # mw2_countdown # # Post countdown to Modern Warfare 2 release to Twitter every day #release_year=2009 release_month=11 release_day=10 year=10#$(date +%Y) month=10#$(date +%m) day=10#$(date +%d) username='cowardswayout' password='somethingiwontleakhere'if (( $release_year == $year && $release_month == $month && $day <= $release_day )); then if (( $day == $release_day )); then printf -v message "Modern Warfare 2 (http://bit.ly/dQMPz) is out! Go get your copy!" else printf -v message "Modern Warfare 2 (http://bit.ly/dQMPz) in %s..." $(( $release_day - $day )) fi curl -u $username:$password -d status="$message" http://twitter.com/statuses/update.xml fi
Since I host with Mac OS X Server and am anal about doing things “The Mac Way”, I whipped up a launchd job to run it every morning at 1am:
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.cowardswayout.mw2_countdown</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/mw2_countdown</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>1</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</dict>
</plist>
As you can see, I installed the bash script in /usr/local/bin/mw2_countdown and the launchd job went in /Library/LaunchDaemons/com.cowardswayout.mw2_countdown.plist.
I changed the permissions so that only root has read/execute access to the bash script, since the Twitter account password is stored in plain text:
sudo chmod 700 /usr/local/bin/mw2_countdown
And loaded the launchd job:
sudo launchctl load /Library/LaunchDaemons/com.cowardswayout.mw2_countdown.plist
Now I only have to remember to remove the bash script and launchd job sometime after 11/10/09. Naturally, this script can be easily tailored to your own needs.
Update: I’ve updated the script to prepend 10# to each call like $(date +%y) to force it to be evaluated as base 10 and also switched from using test (square brackets) to using the correct arithmetic evaluations (double parentheses).
Fake AP Stylebook ¬
2009-10-23
@FakeAPStylebook. Choice tweets include:
On first reference, use “retweeted.” On subsequent references, you may use “RTed,” “copied” or “had nothing original to say.”
And:
According to our technology writer, “Disc” refers to optical media while “disk” refers to magnetic media. NERD.
Not to mention:
While it’s tempting to call them “baristi” because of the Italian roots, the plural of “barista” is “journalism majors.”
[Via Grant Hutchinson] (I’m not sorry.)
First Rule of Twitter ¬
2009-10-16
The first rule of Twitter should be: don’t follow celebrities. It only encourages them. Don’t do it.
[Via Paul Guyot]
'Because that's what we do' ¬
2009-09-11
Twitter has updated their Terms of Service, esp. in the areas of advertising, APIs, spam, and…
Ownership — Twitter is allowed to “use, copy, reproduce, process, adapt, modify, publish, transmit, display and distribute” your tweets because that’s what we do. However, they are your tweets and they belong to you.
[Via Dan Benjamin]
Steven's Garage Sale ¬
2009-07-14
Steven Frank’s, of Panic fame, experiment in auctioning off gadgets via Twitter & email:
Since I loathe the eBay and Craigslist experiences, I’m considering having my tech nerd garage sale right here on Twitter. Stay tuned.
I’ll be very interested in where this goes.
[Via Steven Frank]
Adium 1.4 Beta Adds Twitter Support ¬
2009-05-19
The beta process for Adium 1.4 has started and the new version includes built-in support for Twitter, as well as IRC and a “ridiculously long list of improvements.” It requires Mac OS X 10.5 Leopard and I have yet to test it.
I’m noting this due to the fact that my, now long-outdated, ‘Twitter & Adium Now Best Friends’ article has been getting lots of traffic as of late.
Multiple Twitter Statuses Badges ¬
2009-04-06
I’ve been getting an increasing number of questions about my JavaScript Twitter Statuses Badge as of late and this past week the most prominent questions have been regarding using multiple Twitter badges on the same page. Here’s an except from one of my answers via email:
As it stands, due to the way the Twitter API works, it will only display one per page. That said, it is definitely possible to make it work with the following hacks:
1. In the mtaTwitterStatuses.js file, you can duplicate the
mtaTwitterCallback()function and name it something likemtaTwitterCallback2().2. Also in mtaTwitterStatuses.js, you’d then have to modify the last line of your new function,
mtaTwitterCallback2(), to replacedocument.getElementById('mtaTwitter').innerHTMLwithdocument.getElementById('mtaTwitter2').innerHTML(note the change to ‘mtaTwitter2’.3. Then, in your HTML, you’d want to put
<div id="mtaTwitter"></div>where you want your first badge,<div id="mtaTwitter2"></div>(note the same change to “mtaTwitter2”) where you want your second badge.4. Also in your HTML, you’d want to put the following just before the
</body>tag:
<script type="text/javascript" src="http://www.twitter.com/statuses/user_timeline/morgant.json?callback=mtaTwitterCallback&count=1"></script>
<script type="text/javascript" src="http://www.twitter.com/statuses/user_timeline/slottedpiginfo.json?callback=mtaTwitterCallback2&count=1"></script>Note the “mtaTwitterCallback” & “mtaTwitterCallback2” in the above, in addition to the two different twitter account names (“morgant” & “slottedpiginfo”, in this case).
I’m currently considering my options for implementing better support for multiple badges on the same page for a future release, but I hope this helps in the meantime.
Further Evolution of Twitter Replies ¬
2009-03-31
John Gruber sums the change up sussinctly:
Twitter now identifies your @username anywhere in a tweet, not just at the beginning.
But my favorite from the actual post is the closing line:
Today’s update better reflects how folks are using Twitter now.
The @Reply feature and how it’s matured over time is exactly why I’m a fan of Twitter: they watch for emergence in how we all use it and tweak it appropriately. Evolution. And they benefit too.
[Via Daring Fireball]
'Opportunity Knocks' ¬
2009-02-13
Twitter on accepting further funding from Benchmark and IVP:
We weren’t actively seeking more funding because significant capital from last year’s partnership with Bijan and his team at Spark is still in the bank. Nevertheless, our strong growth attracted interest and we decided to accept a unique opportunity to make Twitter even stronger with a very attractive offer.
[Via Twitter]
Twitter Statuses Badge v0.4 ¬
2009-02-12
I’ve got a new version of my JavaScript Twitter Statuses Badge out for you all.
This version, 0.4, includes some minor modifications to the regular expression for @replies to fix some formatting & issues when they were abutting punctuation.
I’ve also further reduced the amount of HTML you need to include down to a single DIV element (plus the JavaScript include & call, naturally). You’ll have to replace the HTML and probably tweak your CSS (only slightly) to handle the changes, but I don’t intend to change the HTML again for quite some time.
As always, the latest version can be downloaded from the development page.
Update: I’ve released version 0.4.1 with a README file containing an overview, basic instructions, and change log. There are no other changes, so if you don’t need the README, you don’t have to worry about updating.
'How Tweet It Is' ¬
2009-02-11
Will Leitch of New York Magazine on Twitter’s potential “revenue strategies”:
[C]harging companies for brand verification (assuring users that JetBlue’s Twitter is really from JetBlue, for example) and for targeted prompts for users to join company feeds seems to make more long-term sense than straightforward web advertising, which Stone says “feels tacked on.” Another possibility would be charging users to “buy” friends’ feeds, almost like a subscription, though both executives are wary of any model that charges individual users.
[Via Jackson Latka]
'How Twitter Was Born' ¬
2009-02-04
I was lucky enough to be in @Jack’s group, where he first described a service that uses SMS to tell small groups what you are doing. We happened to be on top of the slide on the north end of South Park. It was sunny and brisk. We were eating Mexican food. His idea made us stop eating and start talking.
[Via Daring Fireball]
Another Twitter Statuses Badge Update ¬
2009-01-12
First I wait nearly two years for an update and then only a matter of days. I had actually intended to release this update nearly immediately after the last update, but twitter was having some issues when I was attempting to complete my testing. This weekend’s testing was successful, so here’s the latest update to my Twitter Statuses Badge.
Version 0.3 now includes clickable @replies and links. Many thanks to René van Meurs for the regular expressions.
As always, the latest version can be downloaded from the development page.
Updated Twitter Statuses Badge ¬
2009-01-07
I’ve updated my Twitter Statuses Badge to include Jon Aquino’s IE date parse fix, some function name changes to reduce the possibility of namespace clashes, and tweaked the CSS a tad.
It’s a tiny update to a nearly two year old hack, but hopefully it’s still helpful to many of you. Version 0.2 is now available from the development page.
Daily Dose of Newton ¬
2007-12-21
Thomas Brand is at it again! This time he’s announced NewtonTips, a feed of Newton-related tips powered by Twitter. Complete with Mac OS X Dashboard Widget and all.
Now I have to admit, while I’m happy to see more Newton content flowing, I was quite surprised by its delivery: Twitter. I use it every day, I was on the fence about initially using it, and plenty of people use it as a news delivery medium, but I hadn’t thought of using it as your sole publishing platform. You essentially get free hosting & delivery of a few sentences worth of content via RSS and Twitter (so potentially web, AIM/Gmail instant messaging services, mobile SMS, and email).
More props to Thomas!
(And, yes, the title of this post is a bit of a shout-out to Dan Padilla’s now-silent Newton Dose blog.)
Vermont Twitter Folks ¬
2007-08-22
Yesterday Twitter added the ability to search for people so I set out to find out who else in Vermont is twittering away. A quick search for either "Vermont" or "VT" yields roughly 120 people (combined) which is a little better than I had expected. Oddly enough, the Vermont Teddy Bear Company is the only other twitterer that calls the Shelburne area home, but they have four different accounts that have only been updated once (and not for the past couple months, at that).
It’s good to see some fellow Vermonters plugging up the intertubes and to hear what they’re all up to!
Twitter Statuses Badge ¬
2007-05-07
A couple weeks ago, my friend Jimmy saw a modification of the Twitter JavaScript badge that I had whipped up for the coming site redesign and liked what he saw. He decided to integrate it into his site, but wanted a few more features: most notably, the ability to display more than once recent tweet.
So last week I took an hour to clean it up and improve it. The end result is as follows:
The main features of this modification are:
- The twitterer’s icon, which links to their twitter page.
- One or more of the twitterer’s recent tweets.
- Tweet date-stamp that links to that tweet’s permalink.
- More CSS hooks for more advanced styling, including: ‘first’, ‘last’, ‘even’, and ‘odd’ classes on the list item tags.
You can download following package which contains a stand-alone copy of the JavaScript, plus an example theme (CSS) for it that mimics much of the Twitter look (as seen above):
Please note that the included example CSS stylesheet does not render exactly as intended in Firefox and has not been tested in Internet Explorer for Windows. It was hacked together pretty quickly and tested in Safari, but does fail fairly gracefully in IE for Mac1. I’ll leave those fixes as an exercise for the reader.
I’d highly suggest also taking a peek at Jon Aquino’s modifications as well, because he’s got a fix for date parsing in IE (it doesn’t appear to work in IE for the Mac, though) and provides a similar hack with no additional CSS hooks and such.
I do intend to release additional features that I’m currently developing for my site so check the development page for the latest release.
I hope you all find it useful! I also am interested to hear if anyone wants it wrapped into a Textpattern plug-in.
Update: There were some errors in the gzipped-tarball that have been fixed and I now also provide a zip archive alternative.
Another Update: Version 0.2 0.3 0.4 0.5 0.6 0.6.1 has been released and is available from the development page.
1 If I didn’t personally have a collection of Classic Macs, I probably wouldn’t even bother testing it anymore.
Twitter & Adium Now Best Friends ¬
2007-05-04
[Note: Twitter stopped supporting IM connections, including Jabber, long ago so this post is no longer relevant. That said, it looks like Adium 1.4 will include Twitter support.]
Honestly, I had taken a little time off from worrying about my Twitter & Adium integration for a while there, since the Twitter IM service was cat-napping anyway, but I’m back into the full swing of it again. Since my previous post regarding Twitter and Adium working together using the TwitterAdium plug-in still gets so many hits, I figured I had better post an update so that I don’t confuse anybody since the landscape has changed a little bit. Fortunately, everything is a lot sunnier now in TwitterAdium land.
First, TwitterAdium is up to version 1.1 and has fixed many of the timeout issues I had previously experienced. It should now be much friendlier to Twitter’s servers, so that’s a plus for everyone. You can also add twitteradium as a Twitter friend to receive notifications of future updates.
Second, and most importantly, the Twitter API was updated a while ago (I didn’t pay attention as to exactly when) and so you’ll now have to modify your ~/.twitter file (as noted here) for the new format, if you haven’t already:
username: XXXX
email: bla@bla.com
password: secret
So, if you had previously created a ~/.twitter file and it contained a line starting with “userid” then you’ll need to replace it with “username” instead. So, the “username” line now actually refers to your username (so “morgant”, in my case) and no longer your rarely-seen-these-days ID number (which is “39063”, in my case).
Once you update your ~/.twitter file, then Twitter and Adium will be super best friends! Seriously though, this has been working very well for me lately and I’m glad I went this route (as opposed to, say, trying to get my Adium status messages posted to Twitter or not doing it at all).
Once they re-enable the ability to follow your friends with AIM, I’ll be all set. In the meantime I’ve had to switch to one of my Jabber accounts.
42
One added tidbit that I’m not sure how many people understand (noted here), but which I frequently get asked about by my friends, is that the maximum character limit for AIM “available” messages is 42. So, since Twitter allows 140 characters, all your long messages will get cut off. However, AIM does not impose this restriction on “away” messages, so your Twitter message will be displayed in full as your away status and your auto-reply.
Also, I believe that AIM “available” messages are only displayed on the Mac anyway, so only your Mac1 friends will complain that your available status is cut off.
Update: TwitterAdium is now at version 1.2, as of May 7th, 2007.
1 It seems that my number of Mac friends is increasing quite a bit faster these days, and I’ve been a Mac user and evangelist for years. They all seem to be happier with the transition and the life than every before, which is a very good thing.
The Twitter Adium Saga Continues ¬
2007-01-31
Update: Please don’t follow any instructions in this article as the APIs have changed somewhat. It’s still worth a read, but make changes as directed in the updated post instead.
So, with Adium’s recent explanation as to why version 1.0 has been under development for so long, and their stating that, “it’s almost ready. 1.0 is almost done,” I figured the beta is probably stable enough for me to test.
I backed up my current Adium application and settings:
<notextile>mv ~/Applications/Adium.app ~/Applications/Adium\ 0.89.1.app</notextile>
<notextile>tar -czpf adium_backup-2007-01-31.tar.gz ~/Library/Application\ Support/Adium\ 2.0 ~/Library/Preferences/com.adiumX.adiumX.plist</notextile>
...and proceeded to install the latest beta. The upgrade was smooth and my settings & chat transcripts were preserved, so I was up and running very quickly.
However, as you may remember, my goal for using the Twitter service was to unify my status updates. Post once, display everywhere. And I was going to do this using the TwitterAdium Adium Xtra, which only works with the 1.0 branch of Adium.
Installing TwitterAdium was a breeze as well, thanks to Adium’s built-in Xtras installation capabilities (one click from the web). However, the configuration of <notextile>~/.twitter</notextile> does not work as described. There are three lines which you have to fill in in said file:
userid: XXXX
<notextile>email: blabla.com
password: secret@
What is not explained is that userid is not your Twitter “username”, but a unique number. The easiest way to find this is to hover over the link to your Twitter status RSS feed. For example, my RSS feed link is:
http://twitter.com/statuses/friends_timeline/39063.rss
So, my userid is actually 39063, not “morgant”. Once my <notextile>~/.twitter</notextile> file had the correct data in it, TwitterAdium worked as advertised.
I set my status in Adium to <notextile>%_Twitter</notextile> (or, occasionally, I mix and match with other Xtras), then just send my status updates via AIM to twitterim. If only someone would update the Quicksilver Adium Plug-in...
Twitter as my global status message ¬
2006-12-12
When John Gruber mentioned Twitter a couple weeks ago, saying, ”[his] spidey sense says Twitter is going to be one of those ‘everyone’s using it’ big deals pretty soon,” I went straight over to twitter.com to see what it was all about.
When I got there I was pretty under-whelmed with the concept of the site/service (all it does is ask, “What are you doing?”) and left pretty quickly. It’s like a blog where all you post is a 143 character quick message about what you’re doing. Big deal. So I browsed on.
About 30 minutes later it suddenly hit me. What if I used Twitter as a central location to update a personal status/away-message for my web site, Adium (and so all my AIM, Jabber, and Yahoo! Messenger accounts), possibly finger, as well as whatever service I start using next. That’s where Twitter’s ability to post via web, AIM/Jabber, or cell phone suddenly appeared to be complete genius to me.
I’ve never cared for the SMS messaging functionality for reminders in Google Calendar or other services and I sure don’t want to use my cell phone to post weblog entries like some people do, but how many times have I gotten back to my computer to find numerous IMs from people that hadn’t caught on that I was away or didn’t realize I was busy with some other project? Obviously too many to count on all my digits (including toes). So, integrating a centralized status message with as many services as possible would be very beneficial to me.
I quickly happened across the TwitterAdium Xtra for Adium1, found the API fairly easy to work with via JavaScript, a Textpattern plug-in, and many other cool things.
What I’m finding out about the latest “Web 2.0” sites/services is that their true power is not so much in their tagging (although very useful) or their community aspects (which I tend to care little about), but in that many of them publish APIs and embrace others using them as building blocks. “Web 2.0”—or are we up to 2.5 yet?—is very much like working on a unix command line: others have created many, many useful tools and all you have to do is pipe their output to others or occasionally write a script to glue them all together.
1 Unfortunately, TwitterAdium currently requires the latest beta and I’m using the stable release, so I’ll have to actually upgrade or wait it out.







