Join the Bot Libre open source Projekt bei BotLibre.org
Help

Need help with programming my bot to auto search and provide canned reply to posts on twitter or insta

durch drkmatter gepostet Jan 29 2019, 1:04

I'm a newbie and want to get my bot off the ground. Anyone know how to program a bot to search for specific posts on twitter (or instagram) and reply with a canned response from a database? If you know where I can find an answer to this somewhere on the forum that would be helpful as well.

Thanks!


by admin posted Jan 29 2019, 8:02
For Twitter see,
https://www.botlibre.com/forum-post?id=5015

https://www.botlibre.com/manual-twitter.jsp

You can use a "Tweet Search" and "Reply Keywords", but note we do not allow spam, and Twitter will block your account if you spam.

For Instagram you may be able to access their API through a Self script and a Timer task,
https://www.botlibre.com/forum-post?id=17076300

We can help you create the bot through our development services, as well as for Instagram, email [email protected]

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1909, today: 0, week: 1, month: 27

by drkmatter posted Jan 29 2019, 8:09

Ok thanks! Will let you know if I have any more questions.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1668, today: 0, week: 5, month: 28

by drkmatter posted Feb 10 2019, 11:46

Hi...is it possible to limit your bot twitter search to people from a certain location like Toronto or Montreal? If so how?

Thanks!


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1775, today: 0, week: 2, month: 34

by admin posted Feb 10 2019, 17:10

The search uses the Twitter advanced search syntax, so any query should work.

You can copy the "q" from the URL Twitter's advanced search give you,

https://twitter.com/search-advanced?lang=en

For example search for "foo" or "bar" near "Toronto", the q= is,

foo%20bar%20near%3A"Toronto"%20within%3A15mi

which URL decoded is,

foo bar near:"Toronto" within:15mi

So you can enter this in your bot's Tweet Search.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1788, today: 0, week: 1, month: 36

Id: 25719409
Tags: how to, keywords
Gepostet: Jan 29 2019, 1:04
Antworten: 4
Ansichten: 2254, heute: 1, Woche: 3, Monat: 60
0 0 0.0/5