Since twitter stopped supporting basic auth, some are searching for a lua implementation of oauth.
A while back (in last 2009) I wrote a library for exactly this, but didn't finished it. So I took some time to polish it up and it works still great ;-).
So have fun with the MIT licensed lua oauth library download or source at github.