Awesome Open Source
Awesome Open Source

TwitterApp

TwitterApp is a very basic Rails 3 application that demonstrates how to use the Sign in with Twitter workflow with version 1.x of the twitter gem (which has removed built-in OAuth support).

Installation

git clone git://github.com/jnunemaker/twitter-app.git
cd twitter-app
bundle install

Usage

Using TwitterApp requires you to register an app with Twitter to obtain OAuth credentials. Once you obtain credentials, substitute your consumer key and secret into the command below.

CONSUMER_KEY=abc CONSUMER_SECRET=123 rails server

OmniAuth

If you would like to see how to use the omniauth gem for authentication, Erik Michaels-Ober maintains a simple Rails application that demonstrates how to do so.



Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Ruby (225,235
Ruby On Rails (68,332
Twitter (21,515
Oauth (14,315
Omniauth (1,186
Rails Application (855