Twisplay

A little helper to display Tweets on your Rails website, taking Twitter's Design Guidelines into account. Tweet's are stored in your local database.

Installation

Add this line to your application's Gemfile:

gem 'twisplay'

And then execute:

$ rails g twisplay
$ rake db:migrate

Add the Twisplay CSS file 'application.css.scss':

@import "twisplay";

Usage

Render a tweet in a view using the status id from the URL (E.g. "https://twitter.com/#!/rails/status/185856371667894273"):

tweet("185856371667894273")

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request