summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-02-05 17:30:44 +0100
committerSkyArrow <tommy351@gmail.com>2012-02-05 17:30:44 +0100
commit0bfcad3ebc7ea5a919ce399385c3461616a433ba (patch)
tree2af792bd744d6b907ca81fdea4b9d92d5da5454f /source
parentdf22e73ac86b45c010ce5bb3f11b7afa54b38b65 (diff)
downloadoctopress-theme-jeyzu-0bfcad3ebc7ea5a919ce399385c3461616a433ba.zip
octopress-theme-jeyzu-0bfcad3ebc7ea5a919ce399385c3461616a433ba.tar.gz
twitter.com -> api.twitter.com, trim user data
Diffstat (limited to 'source')
-rw-r--r--source/javascripts/twitter.js2
1 files changed, 1 insertions, 1 deletions
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,