Salsa Scoop> How To Add a Custom Twitter Feed

How To Add a Custom Twitter Feed

Ever curious about adding a Twitter feed on to your site? Well, look no further!

When you add this in, make sure to fill in an image link at the top and put in your Twitter handle at the bottom. To see a great example of this in practice, check out the Virginia House Democratic Caucus's Salsa site, here:

Below is the code for adding the feed (or multiple feeds for that matter):

<p><script src="PUT IN IMAGE LINK HERE"></script> <script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 6000,
  width: 250,
  height: 300,
  theme: {
    shell: {
      background: '#0e1370',
      color: '#ffffff'
    tweets: {
      background: '#a1a1a1',
      color: '#000000',
      links: '#0a59f7'
  features: {
    scrollbar: true,
    loop: false,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
}).render().setUser('TWITTER USER NAME WITHOUT THE "@"').start();


Please login to post comments