0.0.0 • Published 10 years ago

socialize v0.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

socialize

Use twitter as a key-value database.

Use

var socialize = require('socialize');

var db = socialize({
  consumer_key: 'OH HI HOW ARE YOU',
  consumer_secret: 'OH HI HOW ARE YOU',
  access_token_key: 'OH HI HOW ARE YOU',
  access_token_secret: 'OH HI HOW ARE YOU'
});

db.put('hey', 'there', function (err, value) {
  db.get('hey', function (err, value) {
    console.log(value);
  });
});

License

MIT