Twitter in emacs (twittering mode)

Edit: As pointed out by Seth in a comment, you don’t need to set your username nor password if you are going to use oauth and the master password, as I’m doing. My configuration snippet now reflects that.

I started to get interested on Twitter a few weeks ago, after some time having my account abandoned. I’m using Twittering mode, which is pretty nice: has support for oauth (twitter.el don’t have that, so don’t bother trying to use it), supports multiple url shorteners (I use bit.ly), easy navigation, tons of functionalities (check the EmacsWiki for a comprehensive list).

Get it from github:

git clone git://github.com/hayamiz/twittering-mode.git

Today I found this blog post, which explains how to avoid the oauth request every time you start your emacs:

(setq twittering-use-master-password t)

Of course, EmacsWiki also explains that but is burried inside a comment, so I didn’t read it… This is my configuration:

(require 'twittering-mode)

(eval-after-load "twittering-mode"
  '(progn
     (twittering-icon-mode)))

(setq twittering-timer-interval 36000     ; I don't want auto-refresh
      twittering-tinyurl-service 'bit.ly
      twittering-bitly-login "XXX"
      twittering-bitly-api-key "XXX"      ; find it on bit.ly settings
      twittering-use-master-password t
      twittering-url-show-status nil)

TwitterGoogle+FacebookRedditEmail

2 thoughts on “Twitter in emacs (twittering mode)

  1. Thanks for the bitly tip. Didn’t realize that had made it in.

    Why do you have your username and password in your config if you are using oauth and the master password?

  2. Hi Seth, you are right… I didn’t grasp the concept of oauth very well, so I thought I still needed them. Now they are gone, thanks!. Post updated

Comments are closed.