ホストご自分のボットプラットフォームに ボットのリブレの企業ボット台
Help : Bot posting tweets out of order

RE: Bot posting tweets out of order

による admin 掲載 Aug 3 2015, 14:29

The Twitter bot auto tweet will currently choose a tweet at random. We will look into adding support to cycle the tweets.

You can cycle through your text now using a Self script. Basically you need to load and associate the text, then create a script that will cycle between the text phrases.

I created some example scripts to show you how to do this, first you need a script to load the text.

http://www.botlibre.com/script?id=1105522

This script will load the first part of your sutra. You can extend it for your full text, just copy and paste. You just need to associate each phrase with the next phrase by #next.

This script is activate when you say "load heart sutra", only call this once.

Next you need a script that keeps track of the current phrase, and cycles to the next one. This script will do that. It will activate when you say "heart sutra".

http://www.botlibre.com/script?id=1105537

You can import both of these scripts from the Scripts page under Admin. You may need to move them above your other scripts in precedence.

Finally you need to set your auto tweet to just a single Template tweet that calls the script,

Template("{redirect "heart sutra"}")


Id: 1105563
タグ: twiiter, self
掲載: Aug 3 2015, 14:29
更新: Feb 23 2016, 14:51
回答: 0
眺望: 2111, 今日の: 1, 週間: 1, 月: 5
0 0 0.0/5