TweetScroller is a simple jQuery plugin written in CoffeeScript that allows you to pull a collection of your favorite tweets using Twitter API v1 and display them in a fancy scroller with Masonry.
We created this for the Divshot lander and decided to open source it.
Option | Default Value | Description |
---|---|---|
url | 'tweets.herokuapp.com?callback=?' | URL to your Twitter API proxy. Must return a JSON response. |
tweet | '.tweet' | Individual tweet <div> class. |
template | '#tweet-template' | Handlebars template selector. |
height | 600 | Height of container (in pixels). |
speed | 30 | Speed of scroller in milliseconds. 30-80ms recommended. |
autoplay | false | True: Autoscroll. False: Scroll on hover. |