The url is structured like so:[twitter handle].json

Replace [twitter handle] with the user whose tweets you’re requesting. I’ll use mine for the samples.

With either method, you’ll get back an indexed array of objects (so the most recent tweet would be data[0]). Each object has the following keys:

  • in_reply_to_user_id
  • in_reply_to_user_id_str
  • contributors
  • in_reply_to_status_id
  • created_at
  • user
  • favorited
  • truncated
  • place
  • possibly_sensitive
  • geo
  • retweet_count
  • in_reply_to_screen_name
  • coordinates
  • source
  • retweeted
  • id
  • in_reply_to_status_id_str
  • id_str
  • text



These must be JSONP requests, due to same origin policy restrictions. If you don’t know what JSONP is, it’s actually pretty simple – take 10 minutes to learn it. A quick google search will yield lots of good descriptions, so I won’t bother trying to explain it here.