Twitter planning to roll out support for new, media-rich tweets
Wednesday, May 28, 2014/
Twitter has told its third-party developers it is beginning the rollout of a new application programming interface that will allow users to place multiple pieces of media within a single tweet.
In a notice on the company’s official developer website, partner engineer Jacob Petrie explains the feature will initially be used solely for photos, but will be rolled out for other media types over the coming months.
“We are planning to launch support for multiple media entities in tweets via our REST API on May 28th. This will be exposed as a new extended entities object in the JSON response,” Petrie says.
“Today the only type exposed in our entities is photo, however, with the addition of extended entities we plan to expand the types of media we expose. Developers should actively use the type attribute from the media exposed to validate you are handling the types properly, and ignore types that are not of type photo.”
While Twitter first announced it would allow up to four photos per tweet back in February, the latest notification is the first sign the company intends to extend that capability to other media types.
The new feature will allow up to 28 “media entities” to be represented by a single link, opening the door for media-rich tweets within the service’s existing character limit.
The company has also created a page for the developers explaining what the changes will mean in greater detail.