Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 761 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 761 Bytes

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.