Remove Twitter account linking documentation (#1802)

Twitter account linking functionality has been completely removed from both the UI and backend. This PR updates the documentation to reflect these changes and removes all related screenshots. **Changes made:** - Removed all Twitter account linking documentation including the entire linking and unlinking sections from profile settings. - Updated 2FA configuration docs to remove Twitter as a recovery option. - Updated privacy policy and data request documentation to remove Twitter references. - Removed Twitter connect functionality from shared components. - Cleaned up 8 unused screenshot images (7 Twitter-related and 1 unused GitHub disconnect image). - Updated 5 screenshots to reflect the current UI without Twitter linking support. **Files modified:** - `content/getting-started/managing-your-npm-user-account/managing-your-profile-settings.mdx` - removed Twitter linking sections - `content/getting-started/managing-your-npm-user-account/requesting-your-data.mdx` - removed Twitter account reference - `content/getting-started/setting-up-your-npm-user-account/configuring-two-factor-authentication.mdx` - removed Twitter recovery option - `content/policies/privacy.mdx` - removed Twitter data collection references - `src/shared.js` - removed Twitter connect functionality - Updated screenshots: `connect-github.png`, `github-remove.png`, `github-success.png`, `link-github-account.png`, `recover-account.png` - Deleted screenshots: `connect-twitter.png`, `twitter-authorize.png`, `twitter-disconnect.png`, `twitter-login.png`, `twitter-remove.png`, `twitter-success.png`, `link-twitter-account.png`, `github-disconnect.png` **Manual testing:** Verify all documentation pages render correctly without broken links or Twitter references. Check the following pages in the local development server or staging environment: - `/getting-started/managing-your-npm-user-account/managing-your-profile-settings` - should only show GitHub linking options - `/getting-started/setting-up-your-npm-user-account/configuring-two-factor-authentication` - should only mention GitHub for account recovery - `/getting-started/setting-up-your-npm-user-account/recovering-your-2fa-enabled-account` - support ticket section should only mention GitHub - `/getting-started/setting-up-your-npm-user-account/receiving-a-one-time-password-over-email` - support ticket section should only mention GitHub - `/policies/privacy` - should not reference Twitter data collection - `/getting-started/managing-your-npm-user-account/requesting-your-data` - should not list Twitter account in personal details Confirm all updated screenshots display properly and reflect the current UI state. **Test results:** No new automated tests added as this is a documentation-only change. Existing linting and formatting checks pass successfully.

Karthikeyan Padaikathu committed Dec 11, 2025 at 19:02 UTC 1e97599d47d6bff5782ff787b025450a95ff8b76
18 files changed +4 -41
content/getting-started/managing-your-npm-user-account/managing-your-profile-settings.mdx
-27
@@ -16,7 +16,6 @@ From the web, you can change the following user profile settings:
16 - Password
17 - Full name
18 - Link GitHub Account
19 -- Link Twitter Account
19 - Email address added to package metadata
20 - Two-factor authentication status
21
@@ -46,24 +45,6 @@ From the web, you can change the following user profile settings:
45
46 <Screenshot src="/getting-started/managing-your-npm-user-account/github-success.png" alt="Screenshot of linking from Account Setting with successfully linked GitHub account" />
47
49 -### Linking your npm and Twitter accounts
50 -
51 -1. On the account settings page, you will find a button to link your Twitter account. Click that.
52 -
53 - <Screenshot src="/getting-started/managing-your-npm-user-account/connect-twitter.png" alt="Screenshot of linking from Account Setting without any accounts linked" />
54 -
55 -2. If you are not currently logged in to Twitter you will be prompted to go through the authentication flow. Click "Log in"
56 -
57 - <Screenshot src="/getting-started/managing-your-npm-user-account/twitter-login.png" alt="Twitter login form" />
58 -
59 -3. After successfully logging in, or if you already had an active browser sessions, you will be prompted to "Authorize app", click the button.
60 -
61 - <Screenshot src="/getting-started/managing-your-npm-user-account/twitter-authorize.png" alt="Landing page to authorize the installation of the npm account linking app" />
62 -
63 -4. You will be redirected to npm and the link will show as successful in your settings.
64 -
65 - <Screenshot src="/getting-started/managing-your-npm-user-account/twitter-success.png" alt="Screenshot of linking from Account Setting with successfully linked Twitter account" />
66 -
48 ### Removing your GitHub account from npm
49
50 1. On the account settings page, you will find a button to remove your GitHub account. Click that.
@@ -72,14 +53,6 @@ From the web, you can change the following user profile settings:
53
54 _Note: Clicking remove will only remove the link from your npm account. You need to `revoke` permissions from your [GitHub app authorization settings](https://github.com/settings/apps/authorizations) to permanently remove the integration from your GitHub account_
55
75 -### Removing your Twitter account from npm
76 -
77 -1. On the account settings page, you will find a button to remove your GitHub account. Click that.
78 -
79 - <Screenshot src="/getting-started/managing-your-npm-user-account/twitter-remove.png" alt="Screenshot of linking from Account Setting with a cursor hovering over remove button" />
80 -
81 - _Note: Clicking remove will only remove the link from your npm account. You need to `revoke` permissions from your [Twitter connect apps management page](https://twitter.com/settings/connected_apps) to permanently remove the integration from your Twitter account_
82 -
56 ## Managing user account profile settings from the command line
57
58 <Note>
content/getting-started/managing-your-npm-user-account/requesting-your-data.mdx
+1 -1
@@ -5,7 +5,7 @@ edit_on_github: false
5
6 You can export and review the metadata that npm stores about your personal account. The export is an archive containing the following information.
7
8 -1. Your personal details such as username, email address, full name, linked Twitter / GitHub accounts, masked Personal Access Tokens (PAT) and the organisations that you are a member of.
8 +1. Your personal details such as username, email address, full name, linked GitHub account, masked Personal Access Tokens (PAT) and the organisations that you are a member of.
9 2. Metadata of all the packages that you have access to.
10 3. Each individual version of packages that you have published to npm.
11
content/getting-started/setting-up-your-npm-user-account/configuring-two-factor-authentication.mdx
+2 -8
@@ -146,7 +146,7 @@ If you have enabled 2FA auth-and-writes, authentication will be handled automati
146
147 ## Configuring account recovery options
148
149 -When you enable 2FA on your npm user account, we strongly recommend you link your GitHub and/or Twitter accounts to your npm user account. In the event you lose access to your 2FA device and recovery codes, these linked accounts can be used to verify your identity and expedite the recovery of your npm account.
149 +When you enable 2FA on your npm user account, we strongly recommend you link your GitHub account to your npm user account. In the event you lose access to your 2FA device and recovery codes, this linked account can be used to verify your identity and expedite the recovery of your npm account.
150
151 1. <>{shared['user-login'].text}</>
152
@@ -161,13 +161,8 @@ When you enable 2FA on your npm user account, we strongly recommend you link you
161 <Screenshot src="/getting-started/setting-up-your-npm-user-account/link-github-account.png" alt="Screenshot showing Link GitHub account button" />
162
163 4. On the authorization page, verify all information looks correct. Then click **Authorize npm account link**.
164 -5. To [link your Twitter][advanced-twitter-setup] account, on the account settings page, under "Linked Accounts & Recovery Option", click **Link with Twitter**.
164
166 - <Screenshot src="/getting-started/setting-up-your-npm-user-account/link-twitter-account.png" alt="Screenshot showing Link Twitter account button" />
167 -
168 -6. On the authorization page, verify all information looks correct. Then click **Authorize app**.
169 -
170 -The Twitter or GitHub account is now linked to your npm account. To remove the link to either account, you can click the **Remove** button next to the account you want to remove from your npm account.
165 +The GitHub account is now linked to your npm account. To remove the link, you can click the **Remove** button next to the account.
166
167 [about-two-factor-authentication]: /about-two-factor-authentication
168 [authorization-and-writes]: /about-two-factor-authentication#authorization-and-writes
@@ -186,4 +181,3 @@ The Twitter or GitHub account is now linked to your npm account. To remove the l
181 [feitian]: https://www.ftsafe.com/
182 [configuring-account-recovery-options]: /configuring-two-factor-authentication#configuring-account-recovery-options
183 [advanced-github-setup]: managing-your-profile-settings#linking-your-npm-and-github-accounts
189 -[advanced-twitter-setup]: /managing-your-profile-settings#linking-your-npm-and-twitter-accounts
content/policies/privacy.mdx
+1 -1
@@ -119,7 +119,7 @@ You do not have to give your personal or legal name to create an npm account. Yo
119
120 If you sign up for an account, then npm will publish account data for the whole world to see on user pages [like this one](https://www.npmjs.com/~kemitchell). npm also publishes account data through the npm public registry, which is available for everyone to see, and Enterprise registries that npm hosts for others to find with commands like npm owner ls tap.
121
122 -If you give npm a personal name or names on social media like [GitHub](https://github.com/) and [Twitter](https://twitter.com/) through the website, like when you include this on your profile or user page, npm publishes that data along with the email address and user name for the account. You don't have to give npm a personal name or any social media names, and you can remove this data at any time by updating your user page.
122 +If you give npm a personal name or names on social media like [GitHub](https://github.com/) through the website, like when you include this on your profile or user page, npm publishes that data along with the email address and user name for the account. You don't have to give npm a personal name or any social media names, and you can remove this data at any time by updating your user page.
123
124 npm uses your email to:
125
src/shared.js
-4
@@ -89,10 +89,6 @@ const shared = {
89 If you have previously linked a GitHub account to your npm account, select <strong>Connect to GitHub</strong>.
90 This will help our support team verify your account.
91 </li>
92 - <li>
93 - If you have previously linked a Twitter account to your npm account, select{' '}
94 - <strong>Connect to Twitter</strong>. This will help our support team verify your account.
95 - </li>
92 </Ul>
93 ),
94 },
static/getting-started/managing-your-npm-user-account/connect-github.png
Binary files a/static/getting-started/managing-your-npm-user-account/connect-github.png and b/static/getting-started/managing-your-npm-user-account/connect-github.png differ
static/getting-started/managing-your-npm-user-account/connect-twitter.png
Binary files a/static/getting-started/managing-your-npm-user-account/connect-twitter.png and /dev/null differ
static/getting-started/managing-your-npm-user-account/github-disconnect.png
Binary files a/static/getting-started/managing-your-npm-user-account/github-disconnect.png and /dev/null differ
static/getting-started/managing-your-npm-user-account/github-remove.png
Binary files a/static/getting-started/managing-your-npm-user-account/github-remove.png and b/static/getting-started/managing-your-npm-user-account/github-remove.png differ
static/getting-started/managing-your-npm-user-account/github-success.png
Binary files a/static/getting-started/managing-your-npm-user-account/github-success.png and b/static/getting-started/managing-your-npm-user-account/github-success.png differ
static/getting-started/managing-your-npm-user-account/twitter-authorize.png
Binary files a/static/getting-started/managing-your-npm-user-account/twitter-authorize.png and /dev/null differ
static/getting-started/managing-your-npm-user-account/twitter-disconnect.png
Binary files a/static/getting-started/managing-your-npm-user-account/twitter-disconnect.png and /dev/null differ
static/getting-started/managing-your-npm-user-account/twitter-login.png
Binary files a/static/getting-started/managing-your-npm-user-account/twitter-login.png and /dev/null differ
static/getting-started/managing-your-npm-user-account/twitter-remove.png
Binary files a/static/getting-started/managing-your-npm-user-account/twitter-remove.png and /dev/null differ
static/getting-started/managing-your-npm-user-account/twitter-success.png
Binary files a/static/getting-started/managing-your-npm-user-account/twitter-success.png and /dev/null differ
static/getting-started/setting-up-your-npm-user-account/link-github-account.png
Binary files a/static/getting-started/setting-up-your-npm-user-account/link-github-account.png and b/static/getting-started/setting-up-your-npm-user-account/link-github-account.png differ
static/getting-started/setting-up-your-npm-user-account/link-twitter-account.png
Binary files a/static/getting-started/setting-up-your-npm-user-account/link-twitter-account.png and /dev/null differ
static/getting-started/setting-up-your-npm-user-account/recover-account.png
Binary files a/static/getting-started/setting-up-your-npm-user-account/recover-account.png and b/static/getting-started/setting-up-your-npm-user-account/recover-account.png differ