API Design is UI for Developers

by @edent | # # # # # | 18 comments | Read ~23,064 times.

I've been thinking a lot about APIs and their design recently. I stumbled on this fantastic quote from Greg Parker: A programming language is a user interface for developers. Language authors should learn from HCI principles. — Greg Parker (@gparker) February 22, 2012 When I first started learning C++ (back in the bad old days)…

Continue reading →

Getting Images from a Foursquare Checkin

by @edent | # # # # # # | Read ~1,438 times.

"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 &apiKey=YOUR_BIT_LY_API_KEY &format=txt You…

Continue reading →

Twitpic OAuth - I'm Stuck

by @edent | # # # # # # | 14 comments | Read ~3,263 times.

Twitpic has implemented an OAuth API. No more having to hand out passwords to all and sundy. Only I'm too much of a dunderhead to get it working. Perhaps it's a combination of heatstroke or this rotten head-cold, but I just can't see what I'm doing wrong. Any help much appreciated. The easy bit. It's…

Continue reading →