OAuth 2.0 in emacs – Part 4

Finally managed to authenticate against WordPress.com using the oauth2 library. Here is my sample code which returns an access token. (let ((code (oauth2-request-authorization “https://public-api.wordpress.com/oauth2/authorize?blog=jasonblewis.wordpress.com” “2194” “” “” “http://emacstragic.net”) )) (oauth2-request-access “https://public-api.wordpress.com/oauth2/token” “2194” “” code “http://emacstragic.net” ) ) WordPress at least seems to be fussy about what you use as the Redirect URI. It needs to […]

OAuth 2.0 in emacs – Part 2

Back the basics. Reading through the docs again I decided try and and authorise using this url first. https://public-api.wordpress.com/oauth2/authorize?client_id=2194&redirect_uri=http://emacstragic.net&response_type=code This takes me to a wordpress.com page to ask me to authorise. So, then it started to make sense to me. (oauth2-request-authorization "https://public-api.wordpress.com/oauth2/authorize" "2194" "" "" "http://emacstragic.net")(oauth2-request-authorization "https://public-api.wordpress.com/oauth2/authorize" "2194" "" "" "http://emacstragic.net") That above function launches […]

Expadirk: a hack to split PDFs and email based on instructions within

Sune Vuorela wrote a post asking people to make sure their private hacks become public. That inspired me to publish Expadirk. Expadirk is my solution to my accounting software provider requiring me to purchase yet more proprietary software in order to send statements, purchase orders and invoices by email. The accounting package has a way of outputting print […]