Here's a simple step that Twitter App Developers can do to reduce the amount of abuse which is generated on the platform. A few friends of mine regularly receive harassment on Twitter. Typically, there are two ways to deal with it: Mute the offending user. This means their tweets to you never show up in your replies. Block the offending user. The same as muting, except the offender…
Continue reading →
Way back in 2008, David Carrington created Dabr - a really simple mobile website for accessing Twitter. Dabr@dabrFact of the month: @dabr is now 5 years old! Born in August 2008 when @davidcarrington was inspired by @Whatleydude.❤️ 7💬 10🔁 013:59 - Mon 16 September 2013 In those days, Twitter had a kick-arse API and were happy for people to build exciting new services on it. I was eager to contr…
Continue reading →
I've written before about Dabr, the Twitter client I code for. Dabr helps people around the world and is used by some of Twitter's most influential users. Today, I am pleased to announce that Chinese artist, political prisoner, and sower of porcelain sunflower seed, Ai Weiwei uses dabr! On last night's Newsnight, as part of a package on Ai Weiwei's release, they showed him using Twitter. …
Continue reading →
Twitter has announced that it will soon open up a native photo sharing service. Rather than using an external service like Embed.ly to retrieve thumbnails, all the data is embedded within Twitter Entities. So, if you request a status using "include_entities=true", you will be able to grab the image and display the thumbnail using the following code. function twitter_get_media($status) { …
Continue reading →
I contribute code to Dabr - a mobile twitter client. It's a great project to keep my hand in the world of PHP, APIs, SVN, and all the other tools that are essential to the modern online world. Dabr's strength for developers is two-fold Dead easy to install. Unzip the files, fill in your API key(s), upload, done. It's under an incredibly permissive Open Source MIT License. Essentially …
Continue reading →
"Oi!" shouted Whatleydude, "Get Dabr to show images from foursquare checkins!" "Righty-ho sir!" I said. I started coding furiously. Of course, things are never quite as simple as I first thought.... So, how do we go from http://4sq.com/fgIWov to 1 Expand the URL Get your Bit.ly API Key. http://api.bitly.com/v3/expand ?shortUrl=http://4sq.com/fgIWov &login=YOUR_BIT_LY_USERNAME …
Continue reading →
Looking for some Twitter API help. Bit of a geeky post, this... Pagination is the act of splitting data into logical pages. Suppose I had a list of item, numbered 0 - 99. If I want 20 items per page, it's trivial to see that pagination looks like: p1 = 0-19 p2 = 20-40 p3 = 41-61 p4 = 62-82 p5 = 83-99 If I wanted to start at, say, page 55 - pagination would look like: p1 = 55-75 p2 = 76-96 …
Continue reading →
I am no longer confused! Here is a quick tutorial in how to post images to Twitpic and Twitter when using OAuth. I'm indebted to Steve Corona of Twitpic, for his help with this. You can see the full code on Dabr's Google Code page. First of all, you'll need to have enabled OAuth for your Twitter client. I use Abraham's excellent OAuth libraries for PHP. This tutorial assumes you already…
Continue reading →
The Twitter Engineering Team have a set of text processing classes which are meant to simplify and standardise the recognition of URLs, screen names, and hashtags. Dabr makes use of them to keep in conformance with Twitter's style. One of the advantages of the text processing is that it will recognise that www.example.com is a URL and automatically create a hyperlink. Considering that dropping…
Continue reading →
People have been very excited to see some new functionality in Dabr - the mobile Twitter client I develop for. But what is it and how does it work? @@ and geotag Reply to All The @@ symbol allows you to reply to all the people mentioned within the tweet. It only shows up on tweets which mention other users - so you should only ever see it when it can be used. Hitting @@ on the above tweet…
Continue reading →
What is "Implicit Knowledge"? Essentially it's stuff that everyone knows, but no one has written down. Usually it's something that people have worked out through their own experiences. This sort of knowledge is common in life - but is fatal in computing and design. Take the following tweet I received. Mark Hawkins …
Continue reading →
There are many "rules" when it comes to User Interface / User Experience design. One that I try to stick to is "Don't let users do things they can't do." It's one of my gripes with Linux. If you're editing a configuration file, you are relying on yourself to sanity check your input - often without knowing what the limits are. Take these two different examples. In a text file, we might have: …
Continue reading →