Host your own bot platform with the Bot Libre Enterprise Bot Platform
Bot Libre Forum

Twitter search / reply?

by wobblychair posted 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: 2259, today: 1, week: 1, month: 8

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: 1991, today: 1, week: 1, month: 6

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: 2141, today: 1, week: 1, month: 10

Id: 31132
Posted: Jun 6 2014, 15:00
Replies: 3
Views: 2285, today: 2, week: 3, month: 10
0 0 0.0/5