Two years ago we wrote a blog post about how to add a Twitter timeline to a Moodle site via the Remote RSS Feeds block. Unfortunately Twitter fully retired its API v1 in June 2013 which means you can no longer pull in a Twitter timeline via the method described in that old blog post. However, subsequently Twitter introduced a new way for users to embed their own Twitter timelines on websites. In this blog post we are going to walk you through the steps to achieve this.
You can view an example on our theme demo site here.
Log in to your Twitter account and navigate to the settings page.
Click the “Widgets” option in the left nav.
Click the “Create new” button.
Configure the widget depending on your needs and click the “Create widget” button.
Copy the generated widget code. Also don’t forget to save the widget by clicking the “Save changes” button.
Log in to your Moodle site as an administrator. Turn editing on and add an HTML block.
Configure the newly added HTML block and paste the widget code into the text editor’s HTML source editor.
Save changes and turn off editing. Now you should see the Twitter timeline embedded in your Moodle site.
It is also possible to customize the appearance of the timeline.To find out more on how you can customise the widget further you can check out Twitter’s official documentation for developers.
Want to master Moodle?
This online course on Moodle 3.0 will teach you how to create WORLD CLASS online courses. Leverage Moodle 3 like a BOSS!
Want to set up Moodle?
Become a Moodle Administrator a much needed skill . More than 70 million users across 230 countries are using Moodle.