Skip to content

Commit a353458

Browse files
authored
feat(cli): add threads oauth registration guide (#753)
* feat(cli): add threads oauth registration guide (#403) * fix(cli): specify business app type for Meta Threads guide
1 parent c3c7a3d commit a353458

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

packages/cli/src/commands/promote.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,22 @@ const OAUTH_REGISTRATION_GUIDES: OAuthRegistrationGuide[] = [
350350
'Note your App ID and App Secret from Settings → Basic',
351351
],
352352
},
353+
{
354+
platform: 'threads',
355+
label: 'Threads (Meta)',
356+
url: 'https://developers.facebook.com/apps/',
357+
docUrl: 'https://developers.facebook.com/docs/threads',
358+
redirectUris: ['http://127.0.0.1:8765/callback', 'https://sh1pt.com/auth/callback'],
359+
scopes: ['threads_basic', 'threads_content_publish'],
360+
steps: [
361+
'Go to https://developers.facebook.com/apps/ and click "Create App"',
362+
'Choose "Business" as the app type',
363+
'Add the "Threads API" product to the app',
364+
'Under "Settings → Basic", note your App ID and App Secret',
365+
'Under "Threads API → Settings", add the redirect URIs listed below to "Valid OAuth Redirect URIs"',
366+
'Ensure "threads_basic" and "threads_content_publish" permissions are configured',
367+
],
368+
},
353369
{
354370
platform: 'tiktok',
355371
label: 'TikTok',

0 commit comments

Comments
 (0)