aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2013-03-15 23:41:51 +0900
committeranekos2013-03-15 23:41:51 +0900
commit263de388a4395cf5afd63c950b6f64a126162632 (patch)
tree26b6c810203a445ccb116b8ed71e0ab5a188578a /twittperator.js
parente1f90b9e6073c4d2235202522c0ad12809423ee7 (diff)
downloadvimperator-plugins-263de388a4395cf5afd63c950b6f64a126162632.tar.bz2
Twitter API 1.1 対応じゃねーの?
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/twittperator.js b/twittperator.js
index 914f3bf..1173693 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -2,7 +2,7 @@
* The MIT License
*
* Copyright (c) 2010 teramako
- * Copyright (c) 2010-2012 anekos
+ * Copyright (c) 2010-2013 anekos
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -26,7 +26,7 @@
// INFO {{{
let INFO =
<>
- <plugin name="Twittperator" version="1.19.0"
+ <plugin name="Twittperator" version="1.19.1"
href="https://github.com/vimpr/vimperator-plugins/raw/master/twittperator.js"
summary="Twitter Client using OAuth and Streaming API">
<author email="teramako@gmail.com" href="http://d.hatena.ne.jp/teramako/">teramako</author>
@@ -175,7 +175,7 @@ let INFO =
Write the plugin.
</p>
</plugin>
- <plugin name="Twittperator" version="1.19.0"
+ <plugin name="Twittperator" version="1.19.1"
href="https://github.com/vimpr/vimperator-plugins/raw/master/twittperator.js"
lang="ja"
summary="OAuth/StreamingAPI対応Twitterクライアント">
@@ -1643,7 +1643,7 @@ let INFO =
});
}, // }}}
favorite: function(id) { // {{{
- tw.jsonPost("favorites/create/" + id, null, function(res) {
+ tw.jsonPost("favorites/create", {id: id}, function(res) {
res = Utils.fixStatusObject(res);
Twittperator.echo("fav: " + res.user.name + " " + res.text)
});