Atualize para nosso Diamond serviço e vai construir o seu próprio aplicativo para Android ou iOS
Bot Libre Forum

Twitter search / reply?

por wobblychair postado Jun 6 2014, 15:00

Hi all,

Does the twitter search only search tweets by the bot friends, or all of twitter? I'm trying to do the latter (i.e. anyone on twitter tweets a phrase, it responds and corrects them) but it's not seeming to work.

Thanks!


by admin posted Jun 6 2014, 19:43
The Twitter search option searches all of Twitter. It runs the search query on Twitter, and supports the Twitter query syntax.

The tweet search results may be retweeted if they also match your Retweet Keywords, or will be read and possibly replied to if they also match your Status Keywords. I think you are missing the Status Keywords, so you need to set those to match your desired keywords.

Also ensure your bot has been trained with good responses to the potential questions.
See,
http://www.botlibre.com/forum-post?id=25560

Be very careful with using tweet search, and ensure your bot complies with Twitter's terms of use. Twitter may reject tweets if it thinks they are duplicates or spam, and may suspend your account if it think you are in violation of its terms of service, or automation guidelines.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2294, today: 2, week: 8, month: 43

by wobblychair posted Jun 6 2014, 22:37
Thanks. I added in the status keywords. It's interesting, seems to work fine in the chat - ie any keywords I enter in it gives the response I'd like, but doesn't seem to be RT'ing / responding on Twitter for the same keywords for search. Definitely not trying to spam twitter, and this is so obscure/absurd can't imagine it's being blocked, but who knows...

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2017, today: 0, week: 4, month: 32

by admin posted Jun 7 2014, 7:55
Twitter is a big universe, searching for a single keyword like "hotseat" will bring back thousands of tweets or more. Most of the tweets will not match one of your bot's known response's questions, so it will not be able to answer them. The bot needs to know the response to a question that has a 90% match to the tweet for it to answer. The bot's will check at most 20 matching search results per cycle (30 minutes).

You could also use a Pattern for the question to use wildcards, or script a response. Scripted responses will only answer questions.

To test what occurs when your bot searches tweets, first go to the Log page under admin and change the log level to FINE, then go to the Twitter page and click on the "Check Status" button. Go back to the log page after a minute or so, and you will see exactly what your bot processed.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2181, today: 1, week: 5, month: 50

Id: 31132
Postado: Jun 6 2014, 15:00
Respostas: 3
Pontos de vista: 2312, hoje: 1, semana: 5, mês: 37
0 0 0.0/5