[英]facebook messanger -wit.ai integration -Chatbot -heroku deployed
I am working towards a chatbot,with wit.ai and facebook messanger as the interface for it,The integrating process went error less and the curl -H gave {success:true},but the bot does not respond if messaged,I looked all over it,may i know is it because of heroku for which this behaviour is seen,or the deployment platform does not matter at all,what can be the area or part that i may be missing out? 我正在使用wit.ai和facebook messanger作为其接口的聊天机器人,集成过程出错更少,curl -H给出了{success:true},但是如果消息通知机器人没有响应,我看上去在它上面,我是否可以知道是因为出现了此行为的heroku,还是部署平台根本不重要,我可能会错过的领域或部分是什么?
List of things i have already done: 我已经做过的事情清单:
9 trigger it using curl and chat with the bot;** 9使用curl触发它并与机器人聊天; **
*error: bot does not respond in the page *错误:漫游器在页面中没有响应
url/webhook -> bad request* url / webhook->错误的请求*
Can anyone give me some suggestions regarding this 有人可以给我一些建议吗
I find it highly unlikely that there is a heroku problem. 我发现出现heroku问题的可能性很小。 Did you try chatting with the bot without using witai?
您是否尝试不使用witai与机器人聊天? Also type
heroku logs
on terminal to see if there are some errors in your application. 还要在终端上输入
heroku logs
,以查看您的应用程序中是否存在一些错误。 I used heroku to deploy my chatbot, and it works really well since you can find all the errors in the logs. 我使用heroku部署了我的聊天机器人,它的工作原理非常好,因为您可以在日志中找到所有错误。 I am not well versed with witai, but since it is just calling the bot, heroku shouldn't be the one causing the error
我对witai不太了解,但是由于它只是在调用bot,因此heroku不应该是导致错误的原因
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.