Anonymous asked: I have used your code in a test app and when I run it on the iphone simulator (after I get a series of js warnings from all 3 files) I enter the email and password and then the pop window closes (after pushing yes) and the app crashes. Any ideas?

Yep, check this https://developer.appcelerator.com/question/26481/app-crash-on-textarea-in-13-with-error-webtrythreadlock

You can safely use it on the device.

fuule asked: Hi, awesome oauth code for titanium. I'll be making a donation. Thanks for sharing. My question: I got it all running but I keep getting an invalid callback error. Any idea what's going on? Thanks!

Thanks fuule, glad to hear that :-) Can you post some details about the error or the Titanium Info/Debug log?

Titanium implementation of Twitter OAuth

My name is David Riccitelli, COO of Interact SpA, an Italian company actively involved with Internet and Communication projects since 1995, focusing on Web projects, TV/media and mobile development. My connection with twitter is quite dated, since 2006 (I proudly am the first user of Twitter in Italy - http://bit.ly/bxYtJO) when I was used to call some developers over the phone testing out the SMS service in Europe.

Recently I’ve developed an OAuth adapter in JS to allow Titanium mobile projects to exploit the new OAuth protocol, as you can see here: ziodave.tumblr.com/post/746090977. The development has been part of a major project for Enel SpA, one of the largest public utilities company in Europe. 

Twitter is soon going to disable Basic Authentication for its APIs in favor of OAuth, current date is set to 16th of August. Although xAuth is available too, its use is discouraged by Twitter.

The OAuth authentication and signing protocol is better described at hueniverse.com although the following links I believe give a better idea of what we’re talking about: 

Read More