This is a micro Gem to get an OAuth token and secret for the Tumblr.com API allowing an external application to post Tumblr.com blog.
Make a directory, cd into it, download the microgem's Gemfile and run bundle install
mkdir /path/to/some/new/dir
cd /path/to/some/new/dir
wget https://gist.github.com/raw/4577106/6bc9befedcd5238ce9f2ee562cace666dece460c/Gemfile
bundle install
Go to the Tumblr OAuth Applications panel, http://www.tumblr.com/oauth/apps and log in if prompted.
Click the "+ Register application" button to grant access to your application and fill in the following to register a new application. Unless you know otherwise, use this URL for the "Default callback URL" http://sasquatch.github.com/tumblr.html
- Application name
- Application website
- Application description
- Administrative contact email
- Default callback URL
Click "Register" and you'll be redirected back to http://www.tumblr.com/oauth/apps Make note of your new "OAuth Consumer Key" and "Show secret key / Secret Key" for the application you've just registered.
Now generate an OAuth token and secret that your application will use to post to your tumblr in the following manner.
bundle exec generate-token
I've tried multiple times to run this script, but I keep getting an Error 400: Bad Request (Unauthorized) message when it runs. Any thoughts?