Twitter client for connect apps
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib update useragent Oct 23, 2010
README.md initial commit Oct 23, 2010
index.js initial commit Oct 23, 2010
package.json 0.2.0 Oct 24, 2010

README.md

twitter-connect

Twitter client meant to be used with connect apps.

Installation

$ npm install twitter-connect

Usage

var twitter = require('twitter-connect').createClient({
  consumerKey:    'consumer_key_here',
  consumerSecret: 'consumer_secret_here'
});

app.get('/test', function(request, response) {
  twitter.authorize(request, response, function(error, api) {
    api.get('/account/verify_credentials.json', function(error, data) {
      response.send('DATA: ' + sys.inspect(data))
    });
  });
});