4 ms·
I've actually gone and removed Twitter support from an application I work on. It was a small, fun /tweet command in Mobile Colloquy. I wrote it on a whim; it ca
by Zev 17y ago
I've actually gone and removed Twitter support from an application I work on. It was a small, fun /tweet command in Mobile Colloquy. I wrote it on a whim; it came out to maybe 100 LOC (with proper error handling and formatting). More time spent in NSURL{Connection, Request}'s docs than on anything else.
It was removed because it isn't worth the hassle of adding in an {O, X, YetAnotherCharacter}Auth library. No, I don't have to write the code for it. No, including an entire library is not better than 100 lines of code (where the the authentication part amounts to one line if there isn't any error handling).
Twitter's API went from being incredibly nice and easy to work with to having a huge barrier in front of it as soon as they deprecated basic auth.
//edit: Note: I'm not trying to condemn OAuth. I'm sure it has its uses (even if I'm not quite sure what they are). I just don't see how it is a benefit in this particular case.