News for hackers. Stuff that matters.
Re:Twitter is a Corporate API by gbog on Sunday July 08, 2012 @10:30PM (#4216414)
Ok, but what if you build a JS client that is calling an API to build the pages? Then there should be only one API, I guess.
Re:Twitter is a Corporate API by lmm on Monday July 09, 2012 @02:30AM (#4216947)
That works (though you might have trouble with older browsers), but you need to treat it as a "real" program, and you wouldn't want to serve it from the same endpoint as your API using accept headers like you're suggesting. And it's not really any different from the current way of doing things; it's always been good practice to build your web tier on top of your API.