bug: systemic -- most plugins declare supportsMedia() true but ignore $media parameter #244
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
28 of 38 service plugins declare
supportsMedia(): true, but the vast majority never use the$mediaarray in theirpublish()method. Only Instagram, Threads, and TikTok fully implement media uploads. Facebook partially implements it (Reels/Stories only, not feed posts).Plugins that properly handle media:
Plugins that partially handle media:
publishFeed()ignores it (see #233)$mediabut may only pass URL, not uploadPlugins that declare supportsMedia() = true but NEVER use $media:
shareMediaCategory: 'NONE'/api/v2/mediaendpoint/sendMessage, never/sendPhotoetcImpact
supportsMedia()returning true implies the plugin handles images, but media is silently dropped. This is misleading for users and for CrossPostDispatcher which checks this flag.supportsMedia(): falsefor those that don't. The interface contract should be honest.Priority order for media implementation:
/api/v2/media)/sendPhoto,/sendVideo,/sendMediaGroup)Related issues
Branch created:
feature/244-bug-systemic-most-plugins-declare-suppor