Drupal at Cal Poly

Cal Poly's Content Management System

Embedding Twitter

Note: This guide is dependent on Twitter's embedding services. The Drupal team will try to help you out if you run into problems, but keep in mind - much of this functionality is fully under Twitter's control.

Generating Twitter Embeds

  1. Visit Twitter's publishing site and enter the Twitter URL you would like to embed (such as a timeline). Hit the Enter key to continue.
  2. Twitter will show you your display options based on the type of URL you provided. Select one to continue.
  3. Optional: Click Set Customization Options to modify the style of your embed. Click Update when you're done customizing to commit your modifications.
  4. Copy the code that appears, and go to the Drupal page or block you want to place the embed on.
    • If you're using a block, we recommend setting it to appear in the right sidebar region.
  5. Under CKEditor, change the text format of your page or block to CP Extended Filter. (This will NOT work in the default format CP Standard!).
  6. Enter the Source view of CKEditor on your page or block and paste the Twitter code where you would like the embed to appear.
  7. Save the page or block and you should be good to go!

As a final note, please be aware that some adblocking browser add-ons will stop Twitter's javascript from loading. Users with these blockers will see only a link to the Twitter URL you entered in Step 1.

Additional Resources

Want to know more about Twitter embeds?

Check out the Twitter Development Documentation! Twitter even has a page on Embedded Timelines.

Sample Twitter Embed

Related Content

Cal Poly's WCMS

Drupal Since 2009 Badge

Drupal has been Cal Poly's web content management system since 2009.

More About Drupal

Quick Start Guide

  • Quickstart Icon

    Drupal Basics

  • Our Drupal 7 Quick Start Guide will help you get up and running in no time.

Start Drupalling!

User Management

  • User Management Icon

    Users and Roles

  • Site admins can learn how to add/remove users, and what roles to grant their users.

User Management

Drupal Webforms

  • Webforms Icon


  • This Webforms guide features a new interface to help you find the answer to all your questions quickly!

Webforms Guide

Mailing List

  • Mailing List Icon

    Drupal Updates

  • Subscribe to our mailing list to stay up-to-date on Drupal news.