Twitter added some features to its Search API to bring it up to snuff with the flagship Twitter API. At the same time, it brings the context of a tweet to the place where users likely need it most. Twitter first announced entity additions to the search API response in October, but it went live Thursday, with one extra nugget: in_reply_to_status_id.
If a tweet within search results is a reply to another tweet, the API now returns that value (as both a string and an integer) by default. Lone wolf tweets can now be given some context in the applications built off of Twitter Search.
Andy Baio, project director at the company behind the ThinkUp application, calls the update life-changing. "For developers using the Twitter API, being able to easily see the lifetime history of a Twitter conversation is huge," Baio said. "On my most recent project, I spent way too much time building kludgy workarounds for missing reply IDs. I'm excited to throw out all that code."
ThinkUp is the open source application that stores your contributions to several social networks. It most recently added Google Plus API support.
In addition to the reply IDs, Twitter also added user mentions to its entities returned with search results. When you add include_entities=true to a search API request, you now receive hash tags, URLs, photos and user names. Entities save developers from having to write the code to extract them on their own.