Wrapper for elixir to use erlang-oauth
Elixir
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
LICENSE
README.md
mix.exs
mix.lock
package.exs

README.md

Oauthex

A wrapper around erlang-oauth for elixir.

Example

See bin/twitter.mxs for a quick example. To use this script:

elixir --erl '-pa ebin deps/*/ebin' bin/twitter.mxs <consumer key> <consumer_secret>

You will see an url, hit it with your browser and authorize the app. Then execute the command shown:

elixir --erl '-pa ebin deps/*/ebin' bin/twitter.mxs <consumer key> <consumer_secret> <token> <secret>

Trying the track in the twitter streaming api:

elixir --erl '-pa ebin deps/*/ebin' bin/twitter.mxs <consumer_key> <consumer_secret> <token> <secret> track <word>

License

This software is under the Apache 2 License. See the LICENSE file for more details.