lua-users home
lua-l archive

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

I used it in my project [1] and it seems to work fine. The only detail is that the multipart.Request method errors if you pass
it a non-string or table value (see helpers.lua, line 83). It should do a tostring() on the value if it's not a string or table.

/usr/bin/lua: ...r/lib64/lua/luarocks/share/lua/5.1/OAuth/helpers.lua:94: attempt to call global 'error' (a nil value)
stack traceback:
    ...r/lib64/lua/luarocks/share/lua/5.1/OAuth/helpers.lua:94: in function 'encode'
    ...r/lib64/lua/luarocks/share/lua/5.1/OAuth/helpers.lua:108: in function 'Request'


On Wed, Sep 25, 2013 at 12:45 PM, Ignacio Burgueño <> wrote:

Hot on the heels of the last release, I'd like to announce version 0.0.5 of LuaOAuth

LuaOAuth is a client library for OAuth 1.0 enabled servers. It is compatible with Lua 5.1 and LuaNode.
This release adds support for requests with "multipart/form-data" encoding. So, for instance, you can use this version to post pictures of cats to Twitter.

Once the new version hits the LuaRocks repository, you can install it doing:

luarocks install oauth

In the meantime, you can do:

luarocks install