Repository navigation
feat(tiktok): opt-in comments-only connection for EEA accounts - #1564
Closed
rancaHoratiu wants to merge 1 commit into
Closed
rancaHoratiu wants to merge 1 commit into
rancaHoratiu wants to merge 1 commit into
Conversation
TIKTOK_COMMENTS_ONLY=true drops the Business Messaging scopes, which accounts registered in the EEA, Switzerland or the UK cannot be granted, requires comment.list and comment.list.manage instead, and subscribes only the COMMENT webhook. Default behaviour is unchanged.
Collaborator
|
Thanks for this! Closing in favour of a per-credential approach. The reasoning is in #1563 and the follow-up PR will be linked there. |
5 of 6 tasks
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.
Closes #1563
Adds an opt-in
TIKTOK_COMMENTS_ONLY=trueenv var for accounts that can't be granted the Business Messaging scopes (EEA, Switzerland, UK):comment.listandcomment.list.manageare required insteadCOMMENTwebhook is subscribed, and its failure fails the saveWithout the env var nothing changes. Tests added in
scopes.test.tsandsubscribe-webhooks.test.ts;vitest run(127 passed) andtsc --noEmitpass forintegrations/tiktok.Deployments need the env var on both builder and worker.