Simple Twitter
Description
Twitter simple library.
It supporst API 1.1
Currently it runs only get and post methods. (streaming is not supported)
It supports caching inside json files, and node events.
Installation
Download and place it inside node_modules.
Or use npm: npm install simple-twitter.
Usage
Constructor:
var twitter = ; twitter = 'xxx' //consumer key from twitter api 'xxx' //consumer secret key from twitter api 'xxx' //acces token from twitter api 'xxx' //acces token secret from twitter api 3600 //(optional) time in seconds in which file should be cached (only for get requests), put false for no caching ;
Get method:
twitter;
Get method via node events.
twitter;twitter;
Chainable get method via node events.
twitter;
Post method:
twitter;
Post method via node events.
twitter;twitter;