Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Railway extension for twitter connect
JavaScript
Tree: 3f5286ae80

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.js
package.json

README.md

Installation

mkdir node_modules
git clone https://github.com/1602/railway-twitter.git node_modules/twitter
echo "require('twitter');" >> npmfile.js
touch config/twitter.yml

Configure config/twitter.yml with your twitter app credentials:

development:
  url: "http://1.lvh.me"
  key: key
  secret: secret
production:
  url: "http://example.com"
  key: key
  secret: secret

Callback path: /twitter_callback

Usage

In application add link to twitter connect /twitter_connect:

<%- link_to("Connect to twitter", '/twitter_connect') %>
Something went wrong with that request. Please try again.