How to embed a timeline

Embedded timeline widgets give you the ability to embed a collection of Tweets (known as a timeline) on your own website. There are five types of embedded timelines available, all of which look and feel like timelines on twitter.com:

  • Profile: Display public Tweets from any account on Twitter.
  • Likes: Show all Tweets a specific account has marked as likes.
  • List: Show Tweets from public Lists
  • Collection: Show Tweets from a curated collection.
  • Moment: Show Tweets from a public moment.

Note: Embedded timelines will only show content from accounts that have public Tweets. Content from accounts with protected Tweets are not compatible with any Twitter embedded timeline widgets.

To add an embedded timeline to your website

  1. Go to https://publish.twitter.com/.
  2. Enter the URL of the timeline or Moment you’d like to embed.
  3. Customize the design by specifying the height and theme (light or dark) to match your website. 
  4. Copy and paste the code into the HTML of your website wherever you would like the timeline to appear.
  5. You're done!

Note: By using Twitter embedded timelines, you agree to the Developer Agreement and Policy.

Bookmark or share this article