Télécharger l'open source Bot Libre Community Edition et installer Bot Libre sur votre propre serveur
Help : Bot posting tweets out of order

RE: Bot posting tweets out of order

par admin posté 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
Posté: Aug 3 2015, 14:29
Mise à jour: Feb 23 2016, 14:51
Réponses: 0
Vues: 2283, aujourd'hui: 1, semaine: 1, mois: 19
0 0 0.0/5