{"id":206,"date":"2015-08-24T13:55:17","date_gmt":"2015-08-24T01:55:17","guid":{"rendered":"http:\/\/eion.robbmob.com\/blog\/?p=206"},"modified":"2015-08-24T13:55:17","modified_gmt":"2015-08-24T01:55:17","slug":"retiring-the-mightytext-plugin","status":"publish","type":"post","link":"https:\/\/eion.robbmob.com\/blog\/2015\/08\/24\/retiring-the-mightytext-plugin\/","title":{"rendered":"Retiring the MightyText plugin"},"content":{"rendered":"<p>So unfortunately I&#8217;ve had to discontinue work on <a href=\"https:\/\/code.google.com\/p\/pidgin-mightytext\/\" target=\"_blank\">the MightyText plugin for Pidgin<\/a>.<\/p>\n<p>Semi-recently, Google changed their authentication process to <a href=\"https:\/\/developers.google.com\/identity\/protocols\/AuthForInstalledApps\" target=\"_blank\">no longer allow<\/a> an old type of auth.  Unfortunately, the <a href=\"https:\/\/developers.google.com\/identity\/protocols\/OAuth2UserAgent\" target=\"_blank\">new system (OAuth)<\/a> relies on the user having a web browser to login with, which isn&#8217;t something we can assume with libpurple (have you tried using a text-based web browser with Finch?!).  Although I managed to find a way around this, to connect back from OAuth into the MightyText server requires a great deal of effort that ended up going nowhere.<\/p>\n<p>So, regretfully I&#8217;ve had to stop.<\/p>\n<p><!--more--><\/p>\n<p>The good news is that I&#8217;ve started up a new plugin that lets you send\/receive SMS messages through your Android phone, using the <a href=\"https:\/\/www.pushbullet.com\" target=\"_blank\">Pushbullet<\/a> service.  Implementing the Pushbullet API was fantastic, as (unlike MightyText) it was <a href=\"https:\/\/docs.pushbullet.com\/\" target=\"_blank\">actually documented<\/a> and supported and the guys at Pushbullet were really easy to work with and communicate with.  Using Pushbullet we can also connect <a href=\"https:\/\/docs.pushbullet.com\/#stream\" target=\"_blank\">via websockets<\/a>, which means less noisy HTTP connections in the debug log (although writing a websocket client in C was&#8230; &#8216;fun&#8217;).<\/p>\n<p>The Pushbullet service in general is really handy for sending snippets of data to\/from your mobile device (and indeed to other clients, like a browser plugin).  You can also send messages to other Pushbullet users directly, which there&#8217;s support for in the new plugin too.<\/p>\n<p>So <a href=\"https:\/\/www.pushbullet.com\/get-started\" target=\"_blank\">install Pushbullet<\/a>, grab the new plugin from https:\/\/github.com\/EionRobb\/pidgin-pushbullet and give it a go!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So unfortunately I&#8217;ve had to discontinue work on the MightyText plugin for Pidgin. Semi-recently, Google changed their authentication process to no longer allow an old type of auth. Unfortunately, the new system (OAuth) relies on the user having a web browser to login with, which isn&#8217;t something we can assume with libpurple (have you tried [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[7],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3CEsE-3k","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/206"}],"collection":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":0,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"wp:attachment":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}