Instagram无法访问回调URL [英] Instagram Unable to reach callback URL

查看:76
本文介绍了Instagram无法访问回调URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的问题,那就是instagram不允许我订阅更多标签.我昨天订阅了3个标签,没有任何问题,今天尝试使用新标签,但没有任何效果.别人有同样的问题吗?

I'm having weird problem that instagram won't allow me to subscribe to more tags. I subscribed yesterday to 3 tags without any problem, I tried today with new tag and no effect. Does somebody else have same problems?

我不断收到APISubscriptionError代码400无法访问回调URL,但是该URL可以全局访问,即使instagram也为我昨天添加的标签每5分钟调用一次.

I keep getting APISubscriptionError code 400 Unable to reach callback URL, but that URL is globaly accessible, even instagram is calling it every 5 min for tags i added yesterday.

有什么想法吗?

推荐答案

此问题现已解决.

如果它再次出现,这是我在过去几年中针对实时API遇到的类似问题而开发的解决方法.

If it re-appears, here is workaround that I developed dealing with similar problems with the real-time API over the past couple years.

将系统设置为同时使用实时API和搜索API.摄取通过实时调用获得的数据,但也定期轮询搜索端点(媒体/搜索或标签/搜索,具体取决于您的应用程序)以查找可能丢失的数据,而忽略系统已经看到的ID.

Set your system up to use both the real-time API as well as the search API as a fallback. Ingest data coming through the real-time calls, but also periodically poll the search endpoint (either media/search or tag/search, depending on your application) for data you might have missed, ignoring IDs your system has already seen.

您的系统将更灵活地处理Instagram API的问题,并允许定期重新启动系统而不会丢失数据(因为您可以实时获取信息).

Your system will be much more resilient to issues with the Instagram API and also allow restarting your system periodically without missing data (since you can catch back up to real-time).

我跟踪Redis集中的可见" Instagram ID.

I keep track of "seen" Instagram IDs in a Redis set.

这篇关于Instagram无法访问回调URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆