Sending 1.2 Million Tweets

by @edent | # # | 1 comment | Read ~7,019 times.
A beautiful blue sky with scattered clouds. Text reads 2586 Watts - 68% battery.

Back in 2014, I set up a rather silly Twitter account - @OxfordSolarLive. The premise was simple. A camera took a photo of the sky above my house. It took a reading from my solar panels to see how much electricity they were generating. It superimposed the reading on the photo. Then posted it on… Continue reading →

Warning - do not click on Twitter ads

by @edent | # # # | Read ~2,861 times.
Picture of Richard Branson, encouraging people to deposit £250.

It seems that Twitter has lost control of its advertising system. This blog post will show you why it is dangerous to click on any Twitter advertising. Twitter ads have always been a bit crap, but I've seen a recent influx in outright scams. Let me step you through a couple of examples. A typical… Continue reading →

Crypto Scammers Abusing Twitter Cards via Redirects

by @edent | # # # | 1 comment | Read ~506 times.
A spam advert on Twitter. The CNBC website is highlighted at the bottom.

Twitter has a problem with scam advertising. Rather than having humans manually check adverts for acceptability and authenticity, they let almost anyone promote anything. Whatever meagre protections they build in are rapidly evaded by the scammers. Let's take a look at an example of a promoted crypto-scam about Singapore. I'd say it was obviously a… Continue reading →

$3k Bug Bounty - Twitter's OAuth Mistakes

by @edent | # # # # # | 5 comments | Read ~14,528 times.
A Twitter login screen. Highlighted is the information that it cannot access your DMs.

Imagine the scenario. You're trying out some cool new Twitter app. It asks you to sign in via OAuth as per usual. You look through the permissions - phew - it doesn't want to access your Direct Messages. You authorise it - whereupon it promptly leaks to the world all your sexts, inappropriate jokes, and… Continue reading →

Twitter's Secret "Guest Mode"

by @edent | # | Read ~22,365 times.
Twitter's guest mode displayed on a TV.

Twitter has an undocumented feature which lets you follow accounts without being logged in. Here's how I found it, and how you can use it. My crappy old TV has a crappy old web browser on it. One boring Sunday, I decided to see which websites worked and which didn't on a 6 year old… Continue reading →

How to avoid JPG compression on Twitter

by @edent | # # # | 6 comments | Read ~12,887 times.
Screenshot of a graphics editor. One pixel has been removed from the image.

Update for 2019! Twitter have changed how they compress images. Some of the techniques in this blog post may be out of date. Let's talk image compression! Services like Twitter will often apply aggressive levels of compression in order to reduce their storage space and decrease download times. This can have negative consequences for usability… Continue reading →

A curious way to break Twitter's search results

by @edent | # # # | Read ~173 times.
Screenshot of a tweet. The HTML is malformed.

(This isn't really a security issue, although I've disclosed it to the Twitter team.) "Fuzzing" is a computer science term which means "sending weird data into a program and seeing what happens." It's a useful way to see how your code can break in new and unexpected ways. It's particularly good at showing what a… Continue reading →

An Animation of Every Emoji

by @edent | # # # # # | Read ~344 times.
A friendly looking chicken stares at you

The Video EVERY EMOJI! pic.twitter.com/2fCUqwu67c — Terence Eden (@edent) October 24, 2017 Download the WEBM version (19MB). The Process Mostly notes to myself, but I thought you lot might be interested 🙂 Get Every Emoji from Twemoji Twitter maintain the Twemoji Project - it contains high quality SVGs of every emoji. They generously make them… Continue reading →

Easy Tutorial For Getting Twitter Friends Using Python & Tweepy

by @edent | # # # # | 1 comment | Read ~2,841 times.

Here's a very simple introduction to getting started with Tweepy - a Python program which lets you access Twitter. This will work on small computers like the Raspberry Pi. Everything here takes place in the Terminal on the Command Line. This should work on Windows and Mac - but I'm using Linux. Get Python Open… Continue reading →

The Twitter Logo As SVG Circles

by @edent | # # | Read ~949 times.

Five years ago, Twitter updated its logo and demonstrated that it could be made entirely of circles. Interestingly, the official Twitter logo doesn't use circles directly. So, here is an SVG I've made which is only circles: Or, without the edges, and no transparency: And the raw code: <svg height="100" viewBox="0 0 100 100" width="100"… Continue reading →