-
-
Save mrmurphy/8214569 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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