如何在Instagram帐户上获取关注请求的确切数量(达到1000个限制后)

时间:2019-04-16 10:35:02

标签: instagram-api instagram-graph-api

我正在编写一段代码,以使用私有Instagram API自动接受我的Instagram关注请求。

端点 https://i.instagram.com/api/v1/news/inbox/friendships/pending/ 但是,最多只能返回最多1000个关注请求。我认为有可能获得甚至超过该限制的确切数目的原因是,名为socialtools.io的在线服务能够做到这一点。

我查看了Android App与IG以及React App之间的所有流量。但是我在任何地方都找不到确切的数字。

我浏览过的其他端点:
https://i.instagram.com/api/v1/friendships/pending/
https://i.instagram.com/api/v1/friendships/show_many/
->仅返回200个最新请求
https://www.instagram.com/accounts/activity/?__a=1&include_reel=true
->仅返回前1000个请求(网络应用)

这是对帐户的响应的一部分,该帐户使用开头提到的端点处理了大约1400个请求(我在使用脚本进行计数后立即接受了这些请求)。

"counts": {
        "campaign_notification": 0,
        "comment_likes": 0,
        "comments": 0,
        "likes": 1,
        "photos_of_you": 0,
        "relationships": 0,
        "requests": 1000,
        "usertags": 0
    },

1 个答案:

答案 0 :(得分:0)

counts": {
        "campaign_notification": 0,
        "comment_likes": 0,
        "comments": 0,
        "likes": 1,
        "photos_of_you": 0,
        "relationships": 0,
        "requests": 1000,
        "usertags": 0
    },