Twitter client for connect apps
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with ddollar:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.md
index.js
package.json

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))
    });
  });
});