Skip to content

Instantly share code, notes, and snippets.

@chrislaughlin
Created October 10, 2013 21:57
Show Gist options
  • Save chrislaughlin/6926275 to your computer and use it in GitHub Desktop.
Save chrislaughlin/6926275 to your computer and use it in GitHub Desktop.
Posting a status using Twit
console.log("Posting Tweet");
var statusUpdate = 'Testing Status: ' + new Date().getTime();
T.post('statuses/update', { status: statusUpdate }, function(err, reply) {
if (err) {
console.dir(err);
} else {
console.dir(reply);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment