参加ボットのリブレの パートナー、アフィリエイト プログラムや支援の無料のオープンなプラットフォーム
Help

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

による drkmatter 掲載 Jan 29, 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, 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 sales@botlibre.biz

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 241, today: 0, week: 0, month: 14

by drkmatter posted Jan 29, 8:09

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


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 178, today: 0, week: 0, month: 6

by drkmatter posted Feb 10, 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: 176, today: 0, week: 0, month: 4

by admin posted Feb 10, 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: 187, today: 1, week: 1, month: 3

Id: 25719409
タグ: how to, keywords
掲載: Jan 29, 1:04
回答: 4
眺望: 242, 今日の: 1, 週間: 1, 月: 10

フラグとしての攻撃、または違反のサイトのルール