Displaying a live Twitter feed
Displaying a Twitter feed on a site can help to keep the content fresh, and to show that a product or service is being actively discussed. In this recipe, we will be using a Twitter widget to display the live Twitter feed for Drupal's Twitter account, as follows:

How to do it...
We will first set up a new text format to use for adding JavaScript code. We will then create a new block and generate the Twitter widget code that loads the Twitter feed from Drupal's Twitter account. Finally, we will copy the code and place it in a new block.
- Select Configuration from the admin menu, then select Text formats.
- Select +Add text ...
Get Drupal 7 Cookbook now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.