That Time I Accidentally Invented Twitter


A proposal to micro-blog via text.

A curio from the archives. Waaaaaay back in 2003, I was working at Vodafone on their graduate training scheme. One of their fancy new ideas was a crowd-sourced employee suggestion box for new business proposals. As an eager young grad I submitted dozens of ideas. Most of them were crap. But, as I looked back over them, this one struck me as being a lot less crap than others. Terence Eden is on Mastodon@edentLooking through some *very* old documents.Discovered that I pitched the idea of…

Continue reading →

Staking Claims with Scheduled Tweets


The Twitter logo.

Twitter has a nifty new feature which allows you to schedule the publication of a Tweet. But, crucially, it doesn't let the reader know when the message was originally written. How can you, as a publisher, prove that you wrote a scheduled Tweet at a specific time? Here's one method. Write a Tweet which contains a timestamp - "This is my message 2020-08-17" Generate a hash of the message - SHA256: BAE149775399E3AEBC9DEF9D4D4468C9217593B58B76655F479C9CEE4FF73CBA Post the hash to Twitter.…

Continue reading →

More Phishers On Twitter


A Twitter exchange. Virgin ask Dom for his address - which he gives. Then they ask for his full credit card details. He refuses.

My mate Dom was moaning to his ISP on Twitter. They sent him a private message so they could look into his account. Blimey! Thankfully, that was a pretty brazen and inept attempt at phishing. Anyone asking for all your card details like that should set the alarm bells ringing. Of course, phishers often target credulous people who don't understand that they're being scammed. By sending an email that repels all but the most gullible the scammer gets the most promising marks to self-select, …

Continue reading →

OMG! Twitter release an OFFICIAL conversations API!


An organic, branching tree view of a conversation.

One of the most requested Twitter API features is now available - the ability to get replies to a Tweet as a thread. Long time readers know that I've long been a fan of Visualising Twitter Conversations in 2D Space. But up until now you had to use horrible hacks to get the data. As trailed in their recent blogpost - conversation threading is now part of the official API! This allows you to understand a Twitter conversation as a Tree: 1291422339075313664 ├── 1291425742908207107 │ ├── 129142…

Continue reading →

Building an "On This Day" site for your Twitter Account


Several columns of Tweets. Each one from a previous year.

I wanted to see what I was Tweeting on this exact day last year. And all the years before. So I built a website! It's a disgusting hack, and I'm truly sorry for unleashing it on you. Using the API You can't. The Twitter search API only goes back 7 days. This whole idea would be much easier if I had access to the Premium API. But! The Twitter website has no such restrictions. Advanced Search Twitter's Advanced Search allows you to pick specific dates to search for. Here's the string which …

Continue reading →

PGP Sign Your Twitter Messages


Message saying "Read alt text for PGP sig".

I'm not sure if I'm the first person to do this - but I'm going to claim credit anyway! Terence Eden is on Mastodon@edentHello! This Tweet has been signed with my PGP Key. pic.x.com/ed4rcldlvw❤️ 41💬 7♻️ 008:03 - Thu 14 May 2020 You can verify by pasting the alt text into keybase.io/verify - or by using your favourite command line tool. Back in 2017, I wondered if Twitter's alt text could be (ab)used to store message metadata like a PGP signature. Sadly, the limit was 420 characters per image.…

Continue reading →

Finding your most popular Tweets


The Twitter logo drawn in circles.

Twitter's search interface has all sorts of lovely and obscure options. My three favourites are "min_retweets:", "min_replies:", and "min_faves:" Using those filters, you can create a search for Tweets which meet a certain threshold. For example, here are my Tweets which have been liked more than 500 times: twitter.com/search?q=from:edent min_faves:500 Here are the ones which have been retweeted 300 times with at least 100 replies: twitter.com/search?q=from%:edent min_replies:100…

Continue reading →

Who do you think you are kidding, Mr Feynman


La mort, c'est un peu comme la connerie. Le mort, lui, il ne sait pas qu'il est mort. Ce sont les autres qui sont tristes. Le con, c'est pareil.

There are lots of celelbrities and famous academics on Twitter. Then there's Professor Richard Feynman. Who died in 1988. Every so often, one of "his" pearls of wisdom is regurgitated into my Twitter feed. Prof. Feynman@ProfFeynmanWhen you are dead, you don't know you are dead. It's pain only for others.It's the same thing when you are stupid.❤️ 19,612💬 139♻️ 013:57 - Sat 22 February 2020 Except - and I hate to be a party pooper - this is a joke by the Belgian comedian Philippe Geluck. It has…

Continue reading →

How I'd redesign Twitter (and why it won't work)


The Twitter logo drawn in circles.

Way back when Blackberry was the smartphone, my team at Vodafone obsessed over the idea of the "Unified Inbox". "What if," the marketing chaps said, "you could see all your notifications in one place!" Imagine a single inbox where your MySpace friend requests mingled with your Email. And your Facebook and Google Buzz notifications were in the same list. It was a lovely idea. And users all proclaimed that was what they wanted. But users lie. And good ideas fail when they come into contact…

Continue reading →

"file:///C:/users"


List of Tweets where people have pasted a link to their local machine.

Once in a while, I'll see someone Tweet a "link" to file:///C:/users/... - that's the Microsoft Windows way of representing a location on a filesystem. Usually this means that the user has tried to either drag 'n' drop something, or copied a link from their file explorer. There are some (mild) infosec risks you should be aware of. Find local user names - this shows you what their username is for their computer: D. Gordon Smith@professor_smithReplying to @professor_smithTo help people…

Continue reading →

Everything you know about Twitter character counting is wrong


Japanese text pasted into the Twitter compose window. It is showing that there are too many characters.

How many characters can a Tweet contain? It used to be 140, back in the good old days. Now it's 280. Unless you're Japanese. Let me explain… I run OpenBenches - a site which collects memorial benches. When a user adds a bench, the inscription is automatically Tweeted. If the inscription is longer than 280 characters, it is truncated. The PHP code to truncate text to a specific length is pretty simple: $tweet_inscription = mb_substr($inscription, 0, 280); I use Multibyte String o…

Continue reading →

Posting Audio to Twitter


The Twitter logo.

You can't post raw audio to Twitter directly. It sucks. Sure, you can post links to audio, but it's not quite the same. Here's a couple of Linux one-liners which will turn audio into simple video suitable for uploading to social media. Waves This converts audio to a waveform: ffmpeg -i input.mp3 -filter_complex "[0:a]showwaves=s=640x480:mode=line,format=yuv420p[v]" -map "[v]" -map 0:a -c:v libx264 -c:a copy output.mkv How it looks Terence Eden is on Mastodon@edentReplying to @edentAha!…

Continue reading →