aboutsummaryrefslogtreecommitdiffstats
path: root/twitter.js
diff options
context:
space:
mode:
authormattn2008-04-09 11:59:37 +0000
committermattn2008-04-09 11:59:37 +0000
commitb417ebd7b50d214db755dc89bd10285d1d0779ef (patch)
tree9104bba99bb4f3f63b8ce6d43d8e7711e5a257e7 /twitter.js
parent556afbb392d4cf5a32fc39a3a79816f1702c4537 (diff)
downloadvimperator-plugins-b417ebd7b50d214db755dc89bd10285d1d0779ef.tar.bz2
lang/javascript/vimperator-plugins/trunk/twitter.js:
* しまったotsuneさんのuser_timelineのままだった>< git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@9207 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twitter.js')
-rw-r--r--twitter.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/twitter.js b/twitter.js
index a35df2a..680734f 100644
--- a/twitter.js
+++ b/twitter.js
@@ -20,8 +20,9 @@
}
function showFollowersStatus(username,password){
var xhr = new XMLHttpRequest();
- //xhr.open("GET","http://twitter.com/statuses/friends_timeline.json",false,username,password);
- xhr.open("GET","http://twitter.com/statuses/user_timeline/otsune.json",false,username,password);
+ xhr.open("GET","http://twitter.com/statuses/friends_timeline.json",false,username,password);
+ // for debug
+ //xhr.open("GET","http://twitter.com/statuses/user_timeline/otsune.json",false,username,password);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.send(null);
var followers_status = window.eval(xhr.responseText);