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: http://www.vahousedems.com/

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

<p></p>
<p></p>
<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();
</script></p>

Comments

Please login to post comments