I noticed when taking a look at HQ Trivia’s traffic, they look to be adding support for answering with friends: The variables ‘maxAnswerSharingQuestions’, ‘maxFriendsAnswersPerChoice’ and ‘maxFriendAnswersPerQuestion’ are all recent additions. I’d guess that they are going to add support for answering questions together with friends.
I’ve seen a few pieces of API code dotted around the web recently where people have written simple JSON APIs but their error handling still returns HTML instead of JSON for 404 errors and the likes. This is pretty simple to solve with Laravel or Lumen and easily testable too. The cleanest way I’ve seen of handling this was written…
This PHP script will post an update to Twitter using OAuth. You can download the complete script and library here. The Actual Script 1   Running the Script   The End Product