Skip to content

Instantly share code, notes, and snippets.

@heapwolf
Forked from mikeal/gist:3299184
Created August 8, 2012 22:00
Show Gist options
  • Save heapwolf/3299194 to your computer and use it in GitHub Desktop.
Save heapwolf/3299194 to your computer and use it in GitHub Desktop.
var request = require('request')
request.get('http://api.twitter.com/1/users/show.json?screen_name=mikeal', {json:true}, function (e, r, doc) {
console.log(doc)
})
request.get('https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=mikeal', {json:true}, function (e, r, doc) {
console.log(doc)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment