Defaults on the authorization to scribbled script by My OAuth Consumer Key
Get a your consumer key from OAuth authorization web service. for example, take it from dev.twitter.com/apps when you like the twitter.
Set the consumer key into “$HOME/.myoack/keys.yml”.
twitter: consumer_key: YOUR_CONSUMER_KEY consumer_secret: YOUR_CONSUMER_SECRET
Run command “myoack-local-authorization-server.rb”. this command will use 13480 port.
Run command “myoack.rb –auth <ID>”
$ myoack.rb --auth twitter
Let’s scribble some short and simple script, and use consumer key and access token in the script.