Aktualizacja Platinum obsługa i zbudujmy swój bot do ciebie
Help : Bot posting tweets out of order

RE: Bot posting tweets out of order

w admin wysłany 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"}")


Identyfikator: 1105563
Tagi: twiiter, self
Wysłany: Aug 3 2015, 14:29
Aktualizacja: Feb 23 2016, 14:51
Odpowiedzi: 0
Widok: 2263, dziś: 1, tydzień: 7, miesiąc: 40
0 0 0.0/5