How do I embed a Twitter timeline, or collection of tweets, in my D2L course?

The process for embedding a Twitter timeline in a D2L course consists of three main steps:

  1. Generate a Twitter timeline.
  2. Create a HTML file in your D2L course.
  3. Paste the Twitter timeline embed code into the HTML file in your D2L course.

First, generate a Twitter timeline, or collection of tweets. Twitter will help you to create five different types of timeline widgets, and the instructions for creating a Twitter timeline widget are found here.

The instructions Twitter provides will generate an embed code that you can paste into a HTML file. The second step, then, is to create a HTML file in your D2L course.

Finally, once you have created an html file in your course, use the html source editor button to access the html file’s source code:

  1. Locate the new html file in the course.
  2. Select the small arrow to the right of the file’s title to release a dropdown menu.
  3. Select Edit HTML File.
  4. Select the HTML Source Editor button in the lower right corner: D2L HTML Source Editor Button
  5. Paste the Twitter-generated embed code into the HTML Source Editor. 
  6. Select Save to close the HTML Source Editor.
  7. Select Publish to save and publish the HTML file in your D2L course.