In this tutorial we’ll show you how to place a Twitter feed inside a block. You can then display that Twitter feed anywhere around your theme. There are many different Twitter options out there but most have a couple of limitations:
- They post tweets as nodes rather than in a block.
- If they post to a block, they require very complex setups normally involving creating Views.
Thanks to Expedition Post, we’re going to suggest a much simpler way to show tweets in a block on your site. They’ve created a script that is very cleverly called “Twitter Block”.
Installing Twitterblock to Your Drupal Site
- Step 1: Click here to download the latest version of “Twitter Block”.
- Step 2: Extract the files into a folder on your desktop. The folder will be called “twitterblock”.
- Step 3: Login to your site’s files via FTP and navigate to /sites/default/. If there isn’t a folder called /modules/ here, create one.
- Step 4: Upload the “twitterblock” folder to /sites/default/modules/
- Step 5: Go to Administer >> Site building >> Modules. Check the box next to “Twitter Block” and click Save Configuration.
Placing Your Twitter Feed in a Block
Now that Twitter Block is set up, we’ll go and place it on our site:
- Step 6: Go to Administer >> Site building >> Blocks. Scroll down to find Twitter Block.
- Step 7: Click “Configure” next to the block and enter your Twitter username and password:
- Step 8: Click “Save Block”, publish the block and check to see how it looks on your site: