feat(typefully): support X subscribers-only drafts - #23
Closed
linuz90 wants to merge 1 commit into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Adds Typefully skill and CLI support for X Subscribers-only draft posts. Agents can now mark every X post or exact post indexes as Subscribers-only, with docs making the Creator Subscriptions eligibility limits clear.
Summary
--subscribers-onlyfor all X posts and--subscribers-only-posts <all|none|0,2>for exact zero-based per-post selection, mapping directly toplatforms.x.posts[n].subscribers_only.create-draftandupdate-draftstay feature-equivalent, and existing X drafts can have subscribers-only flags set or cleared without rewriting text.Validation
node --check skills/typefully/scripts/typefully.jsnpm run testgit diff --checkManual QA
--subscribers-only→ every X post in the API payload is markedsubscribers_only: true.--subscribers-only-posts 1→ only the second X post is marked Subscribers-only.drafts:update <draft_id> --subscribers-only-posts noneon an existing X draft → existing X post text is preserved and subscribers-only flags are cleared.--subscribers-onlywith--platform linkedinor--community→ the CLI returns a clear local validation error before sending a request.After Merge
No action required
Related Links