Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions packages/cli/src/commands/promote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The docUrl points to the root path which may or may not redirect, while the stable canonical documentation entry point is the /overview/ sub-path. Using the more specific URL ensures users land on useful content even if the root redirect ever changes.

Suggested change
docUrl: 'https://developers.facebook.com/docs/threads',
docUrl: 'https://developers.facebook.com/docs/threads/overview/',

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

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 "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',
Expand Down
Loading