Skip to content

btford/socialize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

socialize

Use twitter as a key-value database.

Install

$ npm install socialize

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) {
  db.get('hey', function (err, value) {
    console.log(value);
  });
});

See Also

License

MIT

About

Use twitter as a key-value database

Resources

Stars

Watchers

Forks

Packages