Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tumblr OAuth for Emacs
Emacs Lisp
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
etumblr.el

README.md

etumblr: Tumblr OAuth for Emacs

This module allows to authorize an Emacs app to use Tumblr API v2. It allows to post a simple text message.

Usage

  1. Save etumblr.el in your Emacs load-path.

  2. Register your app, set callback to "http://localhost:12345/", obtain OAuth Consumer Key and Secret:

    http://www.tumblr.com/oauth/apps

  3. Get user authorization:

    (require 'etumblr)
    (setq access-token
     (etumblr-authorize-app "OAUTH-CONSUMER-KEY" "SECRET-KEY"))
    
  4. Upon sucess, try to post a message:

    (etumblr-post-text access-token "example.tumblr.com"
      "Hello world!" "Sincerely yours,\n\n_Emacs_")
    

Dependencies

  • oauth.el by Peter Sanford to do the hard work
  • elnode.el by Nic Ferrier to run HTTP server and receive the callback

Distribution

Public domain

Something went wrong with that request. Please try again.