Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Because upstream disappeared (Thanks Benoit!)

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 Emakefile
Octocat-spinner-32 License.txt
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.txt
An Erlang OAuth implementation.

Quick start (client usage):

  $ make
  $ erl -pa ebin -s crypto -s inets
  1> Consumer = {"key", "secret", hmac_sha1}.
  2> RequestTokenURL = "".
  3> {ok, ResponseR} = oauth:get(RequestTokenURL, [], Consumer, "", "").
  4> ParamsR = oauth_http:response_params(ResponseR).
  5> TokenR = oauth:token(ParamsR).
  6> TokenSecretR = oauth:token_secret(ParamsR).
  7> AccessTokenURL = "".
  8> {ok, ResponseA} = oauth:get(AccessTokenURL, [], Consumer, TokenR, TokenSecretR).

Thanks to Jason Davies, Paul Bonser, and Roberto Aloi for their patches.

The percent encoding/decoding implementations are based on those found in
the ibrowse library, written by Chandrashekhar Mullaparthi.

Example client/server code is at

Unit tests are at

Erlang R12B-5 or greater is required for RSA-SHA1.
Something went wrong with that request. Please try again.