From 0bfcad3ebc7ea5a919ce399385c3461616a433ba Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Mon, 6 Feb 2012 00:30:44 +0800 Subject: twitter.com -> api.twitter.com, trim user data --- source/javascripts/twitter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/javascripts/twitter.js b/source/javascripts/twitter.js index 203c8e6..c39bb25 100644 --- a/source/javascripts/twitter.js +++ b/source/javascripts/twitter.js @@ -54,7 +54,7 @@ if ($(window).width() > 600){ banner.show(); - $.getJSON('http://twitter.com/status/user_timeline/'+userid+'.json?count='+count+'&callback=?', function(json){ + $.getJSON('https://api.twitter.com/1/statuses/user_timeline/'+userid+'.json?count='+count+'&trim_user=true&callback=?', function(json){ var length = json.length, fragment = document.createDocumentFragment(), counts = 0, -- cgit v1.1-2-g2b99