Upgrade to our commercial service Bot Libre for Business for only $4.99 per month
Help

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

by drkmatter posted 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: 1908, today: 0, week: 0, month: 26

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: 1663, today: 0, week: 0, month: 23

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: 1774, today: 1, week: 1, month: 33

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: 1, week: 1, month: 36

Id: 25719409
Tags: how to, keywords
Posted: Jan 29 2019, 1:04
Replies: 4
Views: 2252, today: 1, week: 1, month: 58
0 0 0.0/5