X/Twitter: thread support and cost warning for URL posts #163

Open
opened 2026-06-23 13:39:36 +00:00 by jmiller · 0 comments
Owner

Summary

Two items for the Twitter plugin:

1. Thread Support

Auto-split long content into a tweet thread using reply chains:

  • Split at 280-char boundaries (sentence-aware)
  • First tweet is standalone
  • Subsequent tweets reply via reply.in_reply_to_tweet_id
  • Last tweet includes the article URL

2. API Cost Warning

Since February 2026, X API uses pay-per-use pricing:

  • Text-only post: $0.015
  • Post with URL: $0.20 (13x more expensive)
  • No free tier for new developers

Cross-posting articles always includes a URL, so each post costs $0.20.

User Impact

  • 30 articles/day with links = ~$6/day = ~$180/month
  • Users MUST know this before enabling Twitter cross-posting

Implementation

  • Add cost warning in Twitter service plugin config (language string)
  • Add documentation in wiki
  • Consider: option to post without URL (text-only at $0.015) with URL in first reply

Acceptance Criteria

  • Auto-thread when message exceeds 280 chars
  • Smart splitting at sentence/word boundaries
  • Reply chain with in_reply_to_tweet_id
  • Cost warning displayed in plugin config
  • Wiki documentation about X API pricing
  • Optional: text-only first tweet + URL in reply (cost optimization)
## Summary Two items for the Twitter plugin: ## 1. Thread Support Auto-split long content into a tweet thread using reply chains: - Split at 280-char boundaries (sentence-aware) - First tweet is standalone - Subsequent tweets reply via `reply.in_reply_to_tweet_id` - Last tweet includes the article URL ## 2. API Cost Warning Since February 2026, X API uses pay-per-use pricing: - Text-only post: $0.015 - Post with URL: **$0.20** (13x more expensive) - No free tier for new developers Cross-posting articles always includes a URL, so each post costs $0.20. ### User Impact - 30 articles/day with links = ~$6/day = ~$180/month - Users MUST know this before enabling Twitter cross-posting ### Implementation - Add cost warning in Twitter service plugin config (language string) - Add documentation in wiki - Consider: option to post without URL (text-only at $0.015) with URL in first reply ## Acceptance Criteria - [ ] Auto-thread when message exceeds 280 chars - [ ] Smart splitting at sentence/word boundaries - [ ] Reply chain with `in_reply_to_tweet_id` - [ ] Cost warning displayed in plugin config - [ ] Wiki documentation about X API pricing - [ ] Optional: text-only first tweet + URL in reply (cost optimization)
Sign in to join this conversation.
No labels
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteCross#163