问题描述
我想从我的Instagram帐户取得最近unfollowers的计数。我一直在谷歌上搜索周围的互联网,但未能找到解决方案。我想写使用Instragram API来执行这项任务的PHP脚本。我怎样才能做到这一点。请帮助我。
I want to get the count of recent unfollowers from my Instagram account. I have been googling around the internet but could not find the solution. I want to write the PHP script using Instragram API to perform this task. How can I achieve this. Please help me out.
推荐答案
您无法从API数据......这样做的唯一途径是:
You can't get that data from API... the only way to do that is:
1 - 获取从API和存储的所有追随者本地数据库
一些前几天
2 - 再次获取来自API的所有追随者:
2.1 - 与您的本地数据库进行比较
2.2 - 请参阅用户开始关注你(而不是在本地数据库还)
2.3 - 见啥子用户取消关注你(在本地数据库中,但通过API没有检索)
1 - Get all followers from API and store in your local databasesome days before2 - Get all followers from API again and:2.1 - Compare with your local database2.2 - See what users starts to follow (not in local database yet)2.3 - See waht users unfollow you (in local database but not retrieved via API)
这不是光鲜亮丽,但做工精细!
It's not glamorous, but will work fine!
这篇关于获得的追随者数量的Instagram的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!