Twitter Feed Sidebar on Landing Page | Community
Skip to main content
February 28, 2013
Question

Twitter Feed Sidebar on Landing Page

  • February 28, 2013
  • 3 replies
  • 1148 views
I have included our company's twitter feed on a landing page, but I am wondering if anyone knows how to manipulate the HTML code so that the feed will only display the 2-3 most recent tweets. As of right now, it displays a long list. Any insight?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

February 28, 2013
last time I set one up, (and this is ooooold script I'm referencing, but it still works) it was all javascript, and there is one parameter line that will limit how many it pulls, like:
count: 4,   would pull just last 4 tweets.

whole chunk was like:
getTwitters('xxxxxx', {
  id: 'xxxxxxxxx',
  count: 4,
  enableLinks: true,
  ignoreReplies: false,
  clearContents: true,
  template: '%text% <a href="twitter.com/#!/%user_screen_name%/status/%id_str%">%time%</a>'
});
February 28, 2013
You can use the create widget on twitter.com and limit the height to show and let the rest scroll - controls visual but still gives access to the richer history.
March 1, 2013
Awesome, thank you both! I went back into my widget and changed the height from 600px to 300 px and that worked very well!