Common Mistakes Made by API Providers
readwriteweb.com
readwriteweb.com
"If you haven't built your website on top of your API, consider doing that -- or at least what it would be LIKE to do that. If your API couldn't reproduce your website, your API needs fixing."
At first, I was going to argue with this. But then I realized: You don't have to actually -do- it, just write like you would. You don't have to give third parties the ability to do everything you can do locally, so long as you program in such a way that it can be done. It helps decouple things better, and make things more testable.
Using haproxy to load balancer is no excuse for this, as you can tell haproxy to serve custom error documents using the errorfile option, and these error documents can be json or XML. And you can use layer 7 routing in haproxy to allow different configurations based on what the request looks like (in the case of, say, you were dumb and put everything your site does on a single domain, rather than putting the api on a different IP/subdomain).
I wish more services would implement open protocols, agreed upon standards than just proprietary APIs.
I think that's a little over the top, nobody is forcing anyone to use their API. If you rely on an API, you should accept that it can (and likely will) change in the future.
Twitter has been pretty up front about the fact that HTTP Basic would be shut off since they first released OAuth. I think they've done just about as much as they can to help people move away from HTTP Basic.
I wish more services would implement open protocols, agreed upon standards than just proprietary APIs.
I'm not sure what you mean by open protocols and agreed upon standards. HTTP Basic and OAuth are both open and agreed upon.