Tweets are an essential part of storytelling for publishers and technology companies around the world. When news breaks, people go to Twitter to share the story, and their Tweets become a critical element to articles on the mobile web. While we work hard to make embedded Tweets incredibly fast and performant, they’re often loaded inside of slower mobile web pages. Today, we aim to change the performance of the mobile web, by supporting a new open source initiative with other industry leaders called Accelerated Mobile Pages (AMP).
AMP aims to dramatically improve the performance of the open mobile web. By providing a new publisher template optimized for speed and predictability, AMP helps web pages with rich content like Tweets and Vines load instantaneously, in any app, including within the Twitter apps for iOS and Android. Based on web technologies, the same code works across all apps, platforms and devices, so your content can be fast wherever your users are.
Embedded Tweets and Vines are rendered inside of the AMP framework, using a custom tag called <amp-twitter>. Whenever you or your content management system (CMS) uses the <amp-twitter> tag, we will interpret and render them as the full Tweet or Vine as you’d expect.
At Twitter, we’ve found that making articles faster in our apps results in users reading more content from Tweets. Because AMP is based on the open mobile web, AMP pages linked directly are already supported in the official Twitter apps on iOS and Android. Over the coming months, we plan to help surface more AMP content in Tweets, making it even easier for our users to browse the mobile web.