Configure the Twitter listing

On the bottom of each page there's a box for your (personal/company) Twitter feed. At this moment it does not support any caching. At every request it contacts Twitter to get the latest Tweets. please keep this in mind if your blog has more than just a few visitors a day, otherwise you will hit your API limit.

It involves a few steps to configure this box.

  • First register your application at Twitter. Twitter dropped oAuth support in 2010 so you need an oAuth key.
  • Follow the instructions on Twitter4J to get your access token code. 
  • Once you have all the oAuth tokens and secrets, log into the console at http://localhost:8080/cms/console
  • Go to /hst:configuration/hst:configuration/hst:components/detail.aside/01-twitter
  • Set the following properties and do the same for  /hst:configuration/hst:configuration/hst:components/overview.aside/01-twitter

 

HST parameters for Twitter listing

 hst:parametername

 hst:parametervalue

 boxTitle

 The title you want to appear above the Tweets

 token

 oAuth accesstoken for Twitter API 

 tokenSecret

 shared secret for the oAuth access token

 consumerKey

consumer key for the Twitter API 

consumerSecret

 consumer shared secret for Twitter API