Host your own bot platform with the Bot Libre Enterprise Bot Platform
Help : Bot posting tweets out of order

RE: Bot posting tweets out of order

by admin posted 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
Tags: twiiter, self
Posted: Aug 3 2015, 14:29
Updated: Feb 23 2016, 14:51
Replies: 0
Views: 2233, today: 2, week: 7, month: 10
0 0 0.0/5