xAuthTwitterEngine library and demo
xAuthTwitterEngine is a library and demo that aims to simplify the process of adding Twitter xAuth authentication to your iPhone apps.
I just released an open source library and a sample application to make it easy for you to implement Twitter's new browserless xAuth authentication mechanism in your iPhone apps. You can download the source code or fork it from the XAuthTwitterEngine repository on Github.
Twitter started rolling out access to its new xAuth beta to developers over the weekend. As you may know, I'm a big fan of xAuth for mobile and desktop applications and as such I began implementing xAuth in Feathers right away.
xAuthTwitterEngine is a library and demo that aims to simplify the process of adding Twitter xAuth authentication to your iPhone apps.
Here, for example, is a way to add my Open in External App icon to links that you capture from a UIWebView to display in Mobile Safari:
In a nutshell, Twitter requires any new applications that use the Twitter API to use oAuth for authorization if they want to display the source parameter in tweets. The source parameter is the little bit of text and the link to your app that appears at the bottom of tweets (e.g., via Tweetie). It constitutes a very important bit of organic marketing for Twitter apps.
Twitter's xAuth implementation is a timely and pragmatic solution that adapts oAuth to the needs of mobile and desktop applications. I applaud Twitter for taking the lead with this.
The following code...
A sneaky little C gotcha for the switch statement.
The symptoms were that the touch-and-hold insertion point magnifying glass would appear and work properly only the first time it was used. It would then add some visual corruption to the text view and refuse to appear on subsequent touch-and-holds. The selection magnifying glass would work and, after using it, the insertion point magnifying glass would also work (but again, just once).
An interesting animation-related issue causes visual glitches and stops the magnifying glasses from working properly on UITextView.