SuperTweet: Twitter without the OAuth hassle
Network World - In 2008 (just as the U.S. economy began circling the drain) here in Gearhead I wrote about updating Twitter with cURL, a free, open source, command line utility that allows you to transfer data with URL syntax using, and I quote, "DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP [along with] SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, [user name and password] authentication (Basic, Digest, NTLM, Negotiate, Kerberos ...), file transfer resume, proxy tunneling and a busload of other useful tricks."
In short, cURL is a Swiss Army knife on steroids for data transfers over TCP/IP and is available for just about any OS you can think of, which includes the usual suspects -- OS X, Windows, Linux -- as well as many others including Amiga, Syllable, VMS and z/OS.
So, way back in those heady days when we were all slowly but certainly losing our shirts, you could post a tweet using a command in the form of:
curl -u username:password -d status="I had a chicken sandwich for lunch" http://twitter.com/statuses/update.xml
This method, using basic authentication, worked great and it was easy to arrange, for example, for your machines to use Twitter as a messaging system to let you know when they had problems or completed something. But on Aug. 30, 2010, Twitter stopped allowing access via basic authentication and switched to another method called OAuth or "Open Authentication."
BACKGROUND: Twitter API has new third-party sign-on method
Wikipedia explains that "OAuth allows users to hand out tokens instead of credentials to their data hosted by a given service provider. Each token grants access to a specific site ... for specific resources ... and for a defined duration. ... This allows a user to grant a third party site access to their information stored with another service provider, without sharing their access permissions or the full extent of their data."
The concept of separating and limiting access to a service for specific applications by separating that from the user's login is a powerful one. For example, it makes revocation of access for a single application very simple so in the case of Twitter, with so many third-party applications providing alternative ways to access the service, switching to OAuth made a lot of sense.
The only problem with Twitter's switch was that all of the simple ways to update Twitter such as using cURL stopped working once Aug. 30 rolled around. Worse still, getting the likes of cURL to use OAuth turns out to be a real bear. Luckily, there is a service called SuperTweet, which acts as a proxy for applications so they can still access Twitter via basic authentication.


- Excel 2010 Cheat Sheet
- Register for this Computerworld Insider Cheat Sheet and gain access to hundreds of premium content articles, guides, product reviews and more.
- Driving Secure Enterprise File Sharing and Syncing in the Enterprise
- GroupLogic's new activEcho is the industry's only secure Enterprise File Sharing and Synching solution that balances the need for simplicity for the end...
- The Enterprise File Sharing Option
- Enterprises and IT departments need to address several critical security issues when considering file sharing and syncing products. Many of today's solutions do...
- Security Strategies to Virtualizing Internet-Facing Applications
- The IT organization at Intel has set a goal to transition their enterprise to a private cloud for their Office and Enterprise applications....
- Cloud Security Planning Guide
- Cloud security considerations span protecting hardware and platform technologies in the data center to enabling regulatory compliance and defending cloud access through different...
- Cloud Security Vendor Round Table
- This vendor round table guide will help you to evaluate different cloud technology vendors and service providers based on a series of questions... All Security White Papers
- Live Webcast
Data Privacy and Protection in Production Environments: New Research from Ponemon Institute - Date: Wednesday, June 13, 2012, 1:00 PM EDT / 10:00 AM PDT
In a recent study conducted by Ponemon Institute, fifty-five percent of respondents... - Data Privacy and Protection in Production Environments: New Research from Ponemon Institute
- Date: Wednesday, June 13, 2012, 1:00 PM EDT / 10:00 AM PDT
In a recent study conducted by Ponemon Institute, fifty-five percent of respondents... - Security Certifications 101 - BlackBerry and all those acronyms what do they mean and why they matter?
- FIPS, Common Criteria, CAPS, AISEP, NFC, NIST, Fraunhofer SIT, CESG, DSD - these are just some of the government and industry certifications which...
- BlackBerry PlayBook OS 2.0 Security Overview
- The presentation provides an overview of BlackBerry PlayBook OS 2.0 security capabilities and features, including: BlackBerry® Balance™ technology, BlackBerry® Bridge, data-at-rest protection, and...
- BlackBerry NFC Security Overview
- The presentation on NFC security will provide an overview of the security protections built into the BlackBerry platform to protect users, application developers...
- Playing Defense: Staying on Top of Your Disaster Recovery Game
- When it comes to disaster recovery, rapidly growing data volumes, distributed computing models, and new technologies all combine to present an ever-changing playing... All Security Webcasts