All Projects → marcelog → oauthex

marcelog / oauthex

Licence: Apache-2.0 license
Wrapper for elixir to use erlang-oauth

Programming Languages

elixir
2628 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].