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 user on Twitter.
  • Likes: Show all Tweets a specific user has marked as likes.
  • List: Show Tweets from public Lists that you own and/or subscribe to. 
  • Collection: Show Tweets from a curated collection.
  • Moment: Show Tweets from a public moment.

Note: Embedded timelines will only show content from users that have public Tweets. Content from users 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, theme (light or dark), and link color 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

Was this article helpful?

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this article?

Thank you for the feedback. Your comments will help us improve our articles in the future.