I'm putting together a site that has a content type called Company. Each company may or may not have a twitter account where they broadcast updates. The requirement is to display a twitter widget on each company node if one exists.
My first thought was to search through the list of custom modules instead of trying to reinvent the wheel. I found several twitter-related modules, however nothing seemed to fit the bill. The closest module was the twitter module but that connects users accounts to their twitter accounts. I need something to connect companies (as nodes).
Later through a google search I found that twitter.com offers widgets, and specifically a profile widget. The profile widget, which you can now see on the right side of this blog, provides the html/script code to place inside of your website to display the twitter feed of any account. We can use this widget and create a drupal block with some PHP code to pull the twitter account from the company node and display this widget.
Recent comments