Instagram Real time updates tag - callback called twice?

旧巷老猫 提交于 2019-12-05 02:13:10

After debugging and investigation i found that call is sent from instagram twice if callback file is not executed fast enough.

Based on the documentation:

Also, you should acknowledge the POST within a 2 second timeout--if you need to do more processing of the received information, you can do so in an asynchronous task.

They will send second request in case they dont receive response on first request within 2 secs.

At the end, i had blank callback.php file with only "sleep" inside it and its called twice each time.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!