Tracking Instagram metrics across several accounts: phones read, an API fills the gaps, and nobody guesses a number
说明与用途
使用真实 iPhone 和 OCR 进行夜间 Instagram 指标收集,并通过 HikerAPI 补充公共数据,验证两次独立读取是否一致并限制 API 调用,提供多账户的准确报告。
问题
Need reliable Instagram metrics for multiple accounts each morning without linking all accounts to a single Meta app.
结果
Accurate, transparent nightly reports for multiple IG accounts with validated metrics and controlled API usage.
工作流
- 1. Use real iPhones driven by a remote‑automation service to open each account’s Insights at night.
- 2. Take screenshots of the Insights page and run OCR to extract private numbers (reach, 30‑day views, interactions).
- 3. For each new reel, fetch permalink, thumbnail, and publish time from HikerAPI; skip fields already provided by the phone.
- 4. Store all raw OCR data in SQLite.
5. Normalize the raw data into the spreadsheet and internal dashboard.
6. Apply the
accept(a,b,tolerance)function to keep a value only if two independent reads agree; otherwise set to None. 7. Re‑run the parser on stored raw OCR when the parser is fixed to recover missing or wrong values. 8. Only trust a username variant if it has been confirmed for that account on that phone and not matched by another account on the same phone. 9. Limit API calls to new reels and only fields not available from the phone. 10. Set a nightly cap on paid API calls and stop the phase if the balance approaches the floor. 11. Generate a morning report that indicates “partial” and lists missing metrics instead of a green check.
证据
A small farm of iPhones, driven through a remote-automation service, opens each account's Insights, takes screenshots and runs OCR.
For each new reel we fetch the permalink, thumbnail and publish time once, from HikerAPI.
Keep a value only if two independent reads agree; otherwise None.
Our morning message used to show a green check when an account was read "successfully" but a key number was empty. Now it says "partial, missing 30-day views", so nobody trusts a hole.
- 记录日期: 2026-10-16T22:56:07.691Z