0.0.1002 • Published 7 years ago
tixfactory.twitter v0.0.1002
TixFactory.Twitter
Introduction
TODO
Example
var tftwitter = require("tixfactory.twitter");
var twitter = new tftwitter({
"consumer_key": "consumer_key",
"consumer_secret": "consumer_secret",
"access_token_key": "access_token_key",
"access_token_secret": "access_token_secret"
}).on("error", function(e){
// Error handler required
});
twitter.tweet("Hello, world!").then(function(tweet){
// Tweet sent
}).catch(function(e){
// Tweet failed to send
});