T
1 membro1 publicação
1 publicações
X API integration: plan for access tiers and conversation state
Social APIs change limits and product access frequently, so the feature needs a degraded mode and explicit dependency boundaries.
Model the data carefully
- Use stable user and post IDs rather than handles.
- Preserve edit, reply, quote, and conversation relationships.
- Handle pagination, deletion, withheld content, and protected accounts.
- Track rate-limit reset values and back off centrally.
- Request the smallest write and read permissions.
Test duplicate webhook events, renamed users, unavailable media, tier changes, and revoked authorization. Never publish automatically from untrusted generated text without review and user intent.
·1