From 60fe09dde1eaadc917702cd37ca9fedb463ba90f Mon Sep 17 00:00:00 2001 From: mohammed054 Date: Tue, 16 Jun 2026 18:46:26 +0400 Subject: [PATCH 1/2] feat(cli): add threads oauth registration guide (#403) --- packages/cli/src/commands/promote.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/cli/src/commands/promote.ts b/packages/cli/src/commands/promote.ts index b3e0317f..378a0770 100644 --- a/packages/cli/src/commands/promote.ts +++ b/packages/cli/src/commands/promote.ts @@ -350,6 +350,22 @@ const OAUTH_REGISTRATION_GUIDES: OAuthRegistrationGuide[] = [ 'Note your App ID and App Secret from Settings → Basic', ], }, + { + platform: 'threads', + label: 'Threads (Meta)', + url: 'https://developers.facebook.com/apps/', + docUrl: 'https://developers.facebook.com/docs/threads', + redirectUris: ['http://127.0.0.1:8765/callback', 'https://sh1pt.com/auth/callback'], + scopes: ['threads_basic', 'threads_content_publish'], + steps: [ + 'Go to https://developers.facebook.com/apps/ and click "Create App"', + 'Choose "Other" or "Business" as the app type', + 'Add the "Threads API" product to the app', + 'Under "Settings → Basic", note your App ID and App Secret', + 'Under "Threads API → Settings", add the redirect URIs listed below to "Valid OAuth Redirect URIs"', + 'Ensure "threads_basic" and "threads_content_publish" permissions are configured', + ], + }, { platform: 'tiktok', label: 'TikTok', From 2777497547a3a54cc9a47784592ab4cb10d4ba85 Mon Sep 17 00:00:00 2001 From: mohammed054 Date: Tue, 16 Jun 2026 19:21:46 +0400 Subject: [PATCH 2/2] fix(cli): specify business app type for Meta Threads guide --- packages/cli/src/commands/promote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/commands/promote.ts b/packages/cli/src/commands/promote.ts index 378a0770..af5e2764 100644 --- a/packages/cli/src/commands/promote.ts +++ b/packages/cli/src/commands/promote.ts @@ -359,7 +359,7 @@ const OAUTH_REGISTRATION_GUIDES: OAuthRegistrationGuide[] = [ scopes: ['threads_basic', 'threads_content_publish'], steps: [ 'Go to https://developers.facebook.com/apps/ and click "Create App"', - 'Choose "Other" or "Business" as the app type', + 'Choose "Business" as the app type', 'Add the "Threads API" product to the app', 'Under "Settings → Basic", note your App ID and App Secret', 'Under "Threads API → Settings", add the redirect URIs listed below to "Valid OAuth Redirect URIs"',