diff options
author | mattn | 2008-04-09 11:59:37 +0000 |
---|---|---|
committer | mattn | 2008-04-09 11:59:37 +0000 |
commit | b417ebd7b50d214db755dc89bd10285d1d0779ef (patch) | |
tree | 9104bba99bb4f3f63b8ce6d43d8e7711e5a257e7 /twitter.js | |
parent | 556afbb392d4cf5a32fc39a3a79816f1702c4537 (diff) | |
download | vimperator-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.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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);
|