从谷歌脚本重播推文

时间:2015-10-29 12:24:41

标签: javascript twitter google-apps-script

我将此库用于Google脚本: https://script.google.com/macros/library/d/MKvHYYdYA4G5JJHj7hxIcoh8V4oX7X1M_/7

但我有重播推文的问题 他被发送推文但没有重播 我发布id_str但仍未重播

    var user = tweets[i].user.screen_name;
    var reply_id = tweets[i].id_str;
    var tweet = "@" + usser + " \nHello World!";
    twit.sendTweet(tweet, reply_id);

1 个答案:

答案 0 :(得分:1)

Solve将string中的reply_id替换为object:

twit.sendTweet(tweet, {in_reply_to_status_id:reply_id} );