Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

3 Duplicate Instagram Posts in 8 Hours: Anatomy of a False-Negative Success Check

说明与用途

自动化 Instagram 发布脚本因误判成功为失败而重复发布同一轮播图三次。通过文本规范化、优先使用 API 验证和容错设计,消除了重复发布。

问题

Automated Instagram posting script repeatedly posted the same carousel three times due to a false-negative verification that misidentified a successful post as a failure.

结果

The fixes eliminated duplicate posts by normalizing text, prioritizing API verification, and adopting a fail-closed strategy, ensuring accurate success detection and preventing unnecessary retries.

工作流

  • Generate caption and post carousel via IG API
  • Run _verify_landed() to compare first 12 chars of caption with DOM inner_text
  • If ok:false, scheduler retries next slot
  • If verification fails repeatedly, duplicate posts occur

证据

_verify_landed() fetched the profile page DOM and compared the first 12 characters of the body text with the first 12 characters of the caption.

来源

The fix, in three parts: 1. Caption normalization, 2. API-first lookup, 3. Fail-closed design.

来源

  • 记录日期: 2026-09-21T12:15:46.083Z