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.

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

报告相同问题?

悬赏问题

  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序