我正在编写一段代码,使用私人Instagram API为我自动接受Instagram关注请求。
端点 https:/i.instagram.comapiv1newsinboxfriendshipspending 但只返回1000以内的关注请求数。我相信即使超过这个限制也可以得到准确的数字,原因是一个叫socialtools.io的在线服务能够做到这一点。
我查看了Android App和IG以及React App之间的所有流量。但我没能在任何地方找到确切的数字。
其他端点我也看了一遍。https:/i.instagram.comapiv1friendshipspending(友谊消费)https:/i.instagram.comapiv1friendshipsshow_many。 -> 只返回最近的200个请求。https:/www.instagram.comaccountsactivity?__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
},