hagino3000's blog

平成アーカイブス (更新停止)

Twitter @anywhereでin_reply_to_status_idを付加する方法がわかった

@anywhereというよりもJS-APIだけど、in_reply_to_status_idを付加するのはずっと無理だと勘違いをしていた。Twitterの中の人がTweetboxを使えばできるよ、と言っているスレがあったのでTweetboxのソースを読んだらすぐに解った。

やり方はこう。これで通常のreplyとin_reply付きの非公式RTもできる。

T.Status.update(text, {
  params : {
    in_reply_to_status_id : "xxxxxxx" //here!!
  },
  success : function(){...},
  error : function(){...}
});