Python中文
首页
教程
问答
标签
搜索
登录
注册
XMPP、openfire和bot issu
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我有兴趣做一个聊天机器人。我的脚本目前运行良好imized.com网站机器人程序。然而,imized几乎每天都在下降。因此,我正在寻找自己的解决方案。</strong></p> <p>在我的发现过程中,我发现了(通过这个网站)openfire,我已经配置了它,即使是gmails用户,它也能很好地工作。在</p> <p>但我还是得不到我需要的东西。在</p> <p><strong>当每个gmail或其他外部用户向我发送消息时,我需要请求一个URL(包括聊天脚本和imized提供的其他用户数据)。让我解释一下。</strong></p> <p>我的openfire是托管和工作mybot.com网站我的身份证号码是:autobot@mybot.com。在</p> <p>现在一位gmail用户说client@gmail.com客户把我加入他的gtalk/piding,我们就可以互相交流了。他可以给我留言,我可以回复。在</p> <p>但我需要一个机器人代替我。什么时候client@gmail.com客户(以及任何其他用户)向我发送一条消息,我需要请求一个URL,这样我就可以根据他/她发送的消息动态地生成响应。在</p> <p><strong>我应该以何种方式实现这一目标?有什么方法可以定制openfire来做到这一点吗?</strong></p> <p><strong>或者我应该制作一个php/python(不过我需要学习python)脚本来监听xmpp端口并生成响应?如果是这样,有什么有用的脚本可以指导我吗?</strong></p> <p>感谢您阅读本文,并提前感谢您提供的任何回复。在</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>Openfire是XMPP服务器。它是XMPP客户机之间的路由消息。在</p> <p>您需要XMPP客户机,它连接到服务器并处理来自其他客户机的消息。在</p> <p>例如,您可以查看<a href="http://xmpppy.sourceforge.net/" rel="nofollow">here</a>。该页面包含两个简单的机器人程序。在</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何添加虚拟方法
1 回答
如何添加表示整数的擦边字符串?
10 回答
如何添加要在Bokeh中使用的新font.ttf文件?
3 回答
如何添加要显示的矩阵XY轴编号和XY轴
8 回答
如何添加计数?
4 回答
如何添加计数器函数?
4 回答
如何添加计数器列来计算数据帧中另一列中的特定值?
6 回答
如何添加计数器来跟踪while循环中的月份和年份?
6 回答
如何添加计数并删除countplot的顶部和右侧脊椎?
3 回答
如何添加计时器wx.应用程序更新窗口对象的主循环?
4 回答
如何添加评论到帖子?PostDetailVew,Django 2.1.5
7 回答
如何添加评论拉梅尔亚姆
7 回答
如何添加诸如矩阵Python/Pandas之类的数据帧?
10 回答
如何添加谷歌地点自动完成到Flask?
9 回答
如何添加超时、python discord bot
1 回答
如何添加超过1dp的检查
7 回答
如何添加距离方法
6 回答
如何添加跟随游戏的敌人精灵
3 回答
如何添加路径以便python可以找到程序?
8 回答
如何添加身份验证/安全性以使用happybase访问HBase?
10 回答