From 263de388a4395cf5afd63c950b6f64a126162632 Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 15 Mar 2013 23:41:51 +0900 Subject: Twitter API 1.1 対応じゃねーの? --- twittperator.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'twittperator.js') 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 = <> - teramako @@ -175,7 +175,7 @@ let INFO = Write the plugin.

- @@ -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) }); -- cgit v1.2.3