Skip to content

Instantly share code, notes, and snippets.

@mrmurphy
Forked from 1dolinski/new.js
Last active January 1, 2016 23:09
Show Gist options
  • Save mrmurphy/8214569 to your computer and use it in GitHub Desktop.
Save mrmurphy/8214569 to your computer and use it in GitHub Desktop.
https://github.com/ttezel/twit
T.post('statuses/update', { status: 'hello world!' }, function(err, reply) {
// ...
})
function TWEET(username, count,){
var returnReply;
T.get('statuses/home_timeline', { count: count, screen_name: username, trim_user: true, exclude_replies: true }, function (err, reply) {
returnReply = reply;
});
return returnReply;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment