dre93205 2017-08-20 16:50
浏览 50
已采纳

从FB-Messenger Webhook再次获得相同的消息

Making a bot for messenger platform in php. Everything is working fine. But after a certain amount of time the I start receiving same message again and again on fb webhook.Image requests from fb

Note: Everything is same in request except the time. And then fb blocks my account due to unusual activity.

Any help ?

  • 写回答

1条回答 默认 最新

  • dongpo4197 2017-08-22 11:00
    关注

    I solved the problem as I also talked to fb support. First, we were using queues for replying back to user. In that case the response 200 ok was going back immediately but since we removed queues I think this is causing the error. But again, the issue that fb is sending me 100 of messages (as I talked to them and they said that we checked our server's and yes we were sending messages as we thought they were failing, since reply was not going back within 20s) is intact at its place. I mean they should try it like 4 or 5 times maximum, if replying in not 200 ok, then they should stop sending the same message again and again.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 eclipse开启服务后,网页无法打开
  • ¥30 雷达辐射源信号参考模型
  • ¥15 html+css+js如何实现这样子的效果?
  • ¥15 STM32单片机自主设计
  • ¥15 如何在node.js中或者java中给wav格式的音频编码成sil格式呢
  • ¥15 不小心不正规的开发公司导致不给我们y码,
  • ¥15 我的代码无法在vc++中运行呀,错误很多
  • ¥50 求一个win系统下运行的可自动抓取arm64架构deb安装包和其依赖包的软件。
  • ¥60 fail to initialize keyboard hotkeys through kernel.0000000000
  • ¥30 ppOCRLabel导出识别结果失败