<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>zedstar dot org &#187; twitter</title>
	<atom:link href="http://zedstar.org/blog/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://zedstar.org/blog</link>
	<description></description>
	<lastBuildDate>Mon, 19 Mar 2012 07:28:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>btlogger updated to support OAuth</title>
		<link>http://zedstar.org/blog/2010/09/17/btlogger-updated-to-support-oauth/</link>
		<comments>http://zedstar.org/blog/2010/09/17/btlogger-updated-to-support-oauth/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 10:57:37 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[twitter]]></category>
		<category><![CDATA[btlogger]]></category>
		<category><![CDATA[oauth]]></category>

		<guid isPermaLink="false">http://zedstar.org/blog/?p=211</guid>
		<description><![CDATA[Twitter pulling the plug on basic authentication meant I had to make changes to btlogger to support OAuth. Fortunately, librest made the code changes trivial. However, I ran into some problems. The clock was out of sync on the PC where btlogger runs. This caused the authenticate process to fail at the token request stage [...]]]></description>
			<content:encoded><![CDATA[<p>Twitter pulling the plug on basic authentication meant I had to make changes to <a href="http://gitorious.org/btlogger/">btlogger</a> to support <a href="http://dev.twitter.com/pages/oauth_faq">OAuth</a>. Fortunately, <a href="http://moblin.org/projects/librest">librest</a> made the code changes trivial. However, I ran into some problems. The clock was out of sync on the PC where btlogger runs. This caused the authenticate process to fail at the token request stage and was not easy to debug. The other issue which has been heavily <a href="http://arstechnica.com/security/guides/2010/09/twitter-a-case-study-on-how-to-do-oauth-wrong.ars">documented</a> is how to support authentication keys in FOSS. Currently <a href="http://gitorious.org/btlogger/btlogger/blobs/master/configure.ac">configure.ac</a> requires an edit to supply the key information. In theory I could supply the keys to somebody who wants to <a href="http://gitorious.org/btlogger/btlogger/blobs/master/INSTALL">build</a> the software from source until I figure out another way to handle this. I think they call this &#8220;best effort security&#8221;.</p>
<p>btlogger is now running from its own twitter account at: <a href="http://twitter.com/bluetoothlogger">http://twitter.com/bluetoothlogger</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zedstar.org/blog/2010/09/17/btlogger-updated-to-support-oauth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>btlogger update</title>
		<link>http://zedstar.org/blog/2009/09/06/btlogger-update/</link>
		<comments>http://zedstar.org/blog/2009/09/06/btlogger-update/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 17:41:23 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[twitter]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[btlogger]]></category>

		<guid isPermaLink="false">http://zedstar.org/blog/?p=157</guid>
		<description><![CDATA[I finally got around to fixing btlogger. It broke after an Ubuntu upgrade which contained BlueZ changes. Anyway, I have moved the code over to Gitorious and made a new tarball and Debian package. Binary: http://zedstar.org/deb/btlogger_0.3.3-1_i386.deb Tarball: http://zedstar.org/tarballs/btlogger-0.3.3.tar.gz Repo: git clone git://gitorious.org/btlogger/btlogger.git Take a look at the README for further information.]]></description>
			<content:encoded><![CDATA[<p>I finally got around to fixing btlogger. It broke after an Ubuntu upgrade which contained BlueZ changes. Anyway, I have moved the code over to <a href="http://gitorious.org/btlogger/">Gitorious</a> and made a new tarball and Debian package.</p>
<p>Binary: <a href="http://zedstar.org/deb/btlogger_0.3.3-1_i386.deb">http://zedstar.org/deb/btlogger_0.3.3-1_i386.deb</a></p>
<p>Tarball: <a href="http://zedstar.org/tarballs/btlogger-0.3.3.tar.gz">http://zedstar.org/tarballs/btlogger-0.3.3.tar.gz</a></p>
<p>Repo: <span id="repo-10997-git-url"> <code> git clone <a href="git://gitorious.org/btlogger/btlogger.git">git://gitorious.org/btlogger/btlogger.git</a></code></span></p>
<p><span>Take a look at the <a href="http://gitorious.org/btlogger/btlogger/blobs/master/README">README</a> for further information.<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://zedstar.org/blog/2009/09/06/btlogger-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweeting from an IRC bot</title>
		<link>http://zedstar.org/blog/2009/06/26/tweeting-from-an-irc-bot/</link>
		<comments>http://zedstar.org/blog/2009/06/26/tweeting-from-an-irc-bot/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 19:25:05 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[twitter]]></category>
		<category><![CDATA[bobot]]></category>
		<category><![CDATA[guile]]></category>
		<category><![CDATA[irc]]></category>

		<guid isPermaLink="false">http://zedstar.org/blog/?p=145</guid>
		<description><![CDATA[I have made a Guile module which is capable of being used by the IRC bot bobot++. The code is available here: http://zedstar.org/tarballs/sneektweet-0.1.tar.gz The readme: sneektweet 0.1: Wraps some C/GLib code which posts to Twitter. setup: Edit configure.ac to set twitter account details. from REPL: john@thinkpad:~/workspace/sneektweet$ guile guile> (use-modules (twitter sneektweet)) guile> (tweet "foobar") guile> [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a Guile module which is capable of being used by the IRC bot <a href="http://unknownlamer.org/code/bobot.html">bobot++</a>. The code is available here:</p>
<p><a href="http://zedstar.org/tarballs/sneektweet-0.1.tar.gz">http://zedstar.org/tarballs/sneektweet-0.1.tar.gz</a></p>
<p>The readme:</p>
<pre>sneektweet 0.1:

Wraps some C/GLib code which posts to Twitter.

setup:

Edit configure.ac to set twitter account details.

from REPL:

john@thinkpad:~/workspace/sneektweet$ guile
guile> (use-modules (twitter sneektweet))
guile> (tweet "foobar")
guile> ** Message: posted update to Twitter

todo:

Add reading updates and posting back to IRC channel. 

bobot example code:

(use-modules (twitter sneektweet))

(define (sneektweet channel message)
  (if (> (string-length message) 140)
    (bot:say channel "Your message needs to be under 140 characters in length!")
    (tweet message)))

(bot:addcommand "tweet" sneektweet #t 2 0)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://zedstar.org/blog/2009/06/26/tweeting-from-an-irc-bot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shakeyshakey</title>
		<link>http://zedstar.org/blog/2009/06/19/shakeyshakey/</link>
		<comments>http://zedstar.org/blog/2009/06/19/shakeyshakey/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 20:13:21 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acceleromters]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://zedstar.org/blog/?p=139</guid>
		<description><![CDATA[When accelerometers meet Twitter. This programs calculates the covariance of data sampled from a Thinkpad&#8217;s accelerometers. If the covariance is over a certain threshold it posts the result to Twitter. Or more simply put, shake your laptop and make it tweet! It is a command line program which requires a Twitter username and password to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>When accelerometers meet Twitter.</strong></p>
<p>This programs calculates the covariance of data sampled from a Thinkpad&#8217;s accelerometers. If the covariance is over a certain threshold it posts the result to Twitter. Or more simply put, shake your laptop and make it tweet!</p>
<p>It is a command line program which requires a Twitter username and password to be supplied e.g.</p>
<p><code>shakeyshakey -u foo -p bar</code></p>
<p>Built and tested on Ubuntu (Jaunty Jackalope).</p>
<p><a href="http://zedstar.org/tarballs/shakeyshakey_0.1.orig.tar.gz">http://zedstar.org/tarballs/shakeyshakey_0.1.orig.tar.gz</a></p>
<p><a href="http://zedstar.org/deb/shakeyshakey_0.1-1_i386.deb">http://zedstar.org/deb/shakeyshakey_0.1-1_i386.deb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zedstar.org/blog/2009/06/19/shakeyshakey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>geotwitta</title>
		<link>http://zedstar.org/blog/2009/05/02/geotwitta/</link>
		<comments>http://zedstar.org/blog/2009/05/02/geotwitta/#comments</comments>
		<pubDate>Sat, 02 May 2009 13:44:23 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[packedobjects]]></category>
		<category><![CDATA[thumbtribes]]></category>
		<category><![CDATA[guile]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://zedstar.org/blog/?p=127</guid>
		<description><![CDATA[geotwitta lets you see how far you are from other twitter users running the program. It will post to your twitter account letting you know the distance in kilometers from those users. It is based on a bunch of technologies I wanted to try out. As a result it is somewhat over-engineered for what it [...]]]></description>
			<content:encoded><![CDATA[<p><strong>geotwitta</strong> lets you see how far you are from other twitter users running the program. It will post to your twitter account letting you know the distance in kilometers from those users. It is based on a bunch of technologies I wanted to try out. As a result it is somewhat over-engineered for what it does. For those that are interested it uses Guile to script a binary network protocol that happens to be encoded efficiently over UDP packets.</p>
<p>It is a command line program. An example of usage is:</p>
<p><code>geotwitta -u foo -p bar --lat=55.55 --long=-0.25</code></p>
<p>This would authenticate against the Twitter account &#8216;foo&#8217; with password &#8216;bar&#8217; and ping in those coordinates. These account details are only exchanged securely with Twitter and not sent over the network protocol. The protocol also does not provide coordinates back of other users. It simply shows a relative distance. The full source of the client is available. If there is an interest I will also tidy up the server code and release it.</p>
<p>To get started you need two packages: The program itself and the Guile module which does the network protocol work. The following tarballs are availble for those who want to build from source.</p>
<p><a href="http://zedstar.org/tarballs/packedobjects-0.1.tar.gz">http://zedstar.org/tarballs/packedobjects-0.1.tar.gz</a></p>
<p><span style="text-decoration: line-through;"><a href="http://zedstar.org/tarballs/geotwitta-0.1.tar.gz">http://zedstar.org/tarballs/geotwitta-0.1.tar.gz</a></span></p>
<p><a href="http://zedstar.org/tarballs/geotwitta-0.2.tar.gz">http://zedstar.org/tarballs/geotwitta-0.2.tar.gz</a></p>
<p>Untar and do the usual ./configure&#8230; routine. The configure script will let you know which dependencies are required to compile. If you don&#8217;t feel like building from source I have also built some Debian packages. I have tested these on Ubuntu (Intrepid Ibex).</p>
<p><a href="http://zedstar.org/deb/packedobjects_0.1-1_i386.deb">http://zedstar.org/deb/packedobjects_0.1-1_i386.deb</a></p>
<p><span style="text-decoration: line-through;"><a href="http://zedstar.org/deb/geotwitta_0.1-1_i386.deb">http://zedstar.org/deb/geotwitta_0.1-1_i386.deb</a></span></p>
<p><a href="http://zedstar.org/deb/geotwitta_0.2-1_i386.deb">http://zedstar.org/deb/geotwitta_0.2-1_i386.deb</a></p>
<p>If you manage to get the software running I will see you on Twitter!</p>
<p>All the usual disclaimers about the software apply.</p>
<p><strong>**update**</strong></p>
<p>Version 0.2 of geotwitta added: ignores UDP packet loss on pings</p>
]]></content:encoded>
			<wfw:commentRss>http://zedstar.org/blog/2009/05/02/geotwitta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bluetooth logging to Twitter with btlogger</title>
		<link>http://zedstar.org/blog/2009/03/06/bluetooth-logging-to-twitter-with-btlogger/</link>
		<comments>http://zedstar.org/blog/2009/03/06/bluetooth-logging-to-twitter-with-btlogger/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 22:17:55 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[thumbtribes]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[btlogger]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://zedstar.org/blog/?p=118</guid>
		<description><![CDATA[I decided to hack my Bluetooth logger so that it could post any new devices it saw to my Twitter account. This should be interesting once I get it setup on my desk at work! After moving to Intrepid Ibex I realised the changes in BlueZ versions borked my software. It took me a while [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to hack my Bluetooth logger so that it could post any new devices it saw to my Twitter account. This should be interesting once I get it setup on my desk at work! After moving to Intrepid Ibex I realised the changes in BlueZ versions borked my software. It took me a while to figure out what needed to be fixed. Anyway, these changes and Twitter hack are available as a tarball here:</p>
<p><a href="http://zedstar.org/tarballs/btlogger-0.3.2.tar.gz">zedstar.org/tarballs/btlogger-0.3.2.tar.gz</a></p>
<p>The tarball should install an sqlite db file in /var/lib/misc but you can move it else where if you don&#8217;t want to run as root. If you supply a username and password on the command line it will try and post the scan results to Twitter like:</p>
<p><a href="http://twitter.com/jptmoore">http://twitter.com/jptmoore</a></p>
<p>To see the command line options run btlogger &#8211;help</p>
]]></content:encoded>
			<wfw:commentRss>http://zedstar.org/blog/2009/03/06/bluetooth-logging-to-twitter-with-btlogger/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

