Aktualizacja Platinum obsługa i zbudujmy swój bot do ciebie
Bot Libre Forum

Twitter search / reply?

w wobblychair wysłany 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: 2286, today: 1, week: 4, month: 35

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: 2012, today: 0, week: 2, month: 27

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: 2176, today: 2, week: 7, month: 45

Identyfikator: 31132
Wysłany: Jun 6 2014, 15:00
Odpowiedzi: 3
Widok: 2307, dziś: 2, tydzień: 3, miesiąc: 32
0 0 0.0/5