lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


As explained by a previous message outside the thread, Twitter disallowed basic auth on August 31st.

There was a guy who wrote an OAuth Twitter library for Lightroom a while back, but he was such a jerk (most of his comments were insults directed toward Lua) that I've never really felt like looking at his code.

Maybe somebody from this list who actually "gets" Lua can write a standard OAuth library (with socket.http). Next time I'm on the machine I have the page open on I'll paste the link to the script this guy wrote.

On Thu, 16 Sep 2010 05:04:30 -0400, Chris Babcock <cbabcock@asciiking.com> wrote:

I don't know how old that library code is, but Twitter did change
their API URL a number of months back so that they could introduce
version control to their APIs. In addition to the fact that the
Twitter API might actually be down, you need to check the base URL
used in the library against the current base URL in the Twitter docs.

Chris


On Wed, Sep 15, 2010 at 6:24 PM, Norman Ramsey <nr@cs.tufts.edu> wrote:
I'm looking for a Lua library to work with the Twitter API.
I've tried LuaTwitter-0.9.1, but all attempts to verify credentials
or perform other operations fail by returning this rather unhelpful
table:

 { errorCode = "host not found" }

I'm using the Debian versions of JSON for Lua and similar Lua Socket.


Norman