Quickly Integrate Twitter and Drupal with RSS

We recently spruced up our blog with some more common features. One of these features happened to be displaying our Twitter feed in the sidebar, which you now see on bottom right of the blog. When asked to implement this feature, I set out for a Drupal solution.

We use have used Drupal to manage our website content for its flexibility, customizing where needed. After about two minutes of googling, I noticed the Drupal community suggested using the Twitter module. Discouraged by the necessity to carry around yet another Drupal module, I looked for another solution.

I am not a Tweeter (or is that Twitterer?), myself, but I did notice that Twitter offers an RSS feed for all of your tweets. Seeing that, I knew I could use the Drupal news aggregator to simply read the twitter feed and pull all of the tweets into drupal with cron.

All you need to do is:

  1. copy your twitter RSS feed URL
  2. enable the core aggregator module if you haven't done so already, be sure to also set the appropriate user permissions
  3. add a new feed to the news aggregator with the URL of your twitter feed

A new block is automatically created for you, and you simply customize it and move it into place as you would with any other block. Viola - you can put your tweets anywhere on your site.

It's not a full integration where I can push tweets to twitter from my Drupal instance; but, it certainly fulfilled everything I was looking to accomplish. This is just another instance of using a common format for seamlessly integrating disparate sources of data, eliminating the need for a big, custom integration job. Now, I can include anything on the site with an Atom or RSS feed - like a custom Google News query on the latest industry happenings or our YouTube account's uploaded videos.

Hooray for standards.

witch module do u use?

Posted by: Jesus shaves!
Wed, 9/29/10 11:02 am EDT

Dude witch aggregator-module (quite vital information).. Or are they compatible.. Guess any feed aggregator works? Agregate just mean addaing on 1 in programing terms (not replacing old content in a database).. this could be anything..


sorry for the tone.. just a bit stressed.. (working on a school project with deadline -1 hour)


where is the download link..

Posted by: Guest
Wed, 9/29/10 11:03 am EDT

(what I mean is that I don't see any download links.. I don't like the interaction design on drupal.org it's sometimes a maze of content..)


Sorry for late reply

Posted by: nicole
Wed, 10/06/10 10:43 am EDT

Erick is on vacation... We'll get back to you


great post

Posted by: MichaeLjii
Sat, 11/13/10 1:22 am EST

Hi There,Really nice post. have been playing around with Twitter tonight, trying to see how well this can integrate with Drupal. There is alot of buzz starting to brew about how Twitter can be used as a tool for advocacy, political campaigning, and possibly even fundraising. I was personally looking for an easy way to do some micro-blogging from the road. To be completely honest, I am not a huge blogger (as you can see from the frequency of my posts), because it requires me to take time out of my busy days to sit down and formulate coherent thoughts into posts like this one (ugh).

I recently became a Twitter addict through Facebook. I would frequently update my Facebook status with random thoughts and funny run-ins throughout the day using Facebook Mobile.

Thanks for sharing.

MichaeL

testking VCP-410

Trainer


Thanks for increase my

Posted by: John Milton
Sat, 10/22/11 3:18 am EDT

Thanks for increase my knowledge,I really recommended your style of posting And I very like it; I am very surprised to see this type of blog, once again Thanks for share send flowers to china